// Lean compiler output
// Module: Lake.DSL.Package
// Imports: public import Lake.DSL.Syntax import Lake.Config.Package import Lake.DSL.Attributes import Lake.DSL.Extensions import Lake.DSL.DeclUtil
#include <lean/lean.h>
#if defined(__clang__)
#pragma clang diagnostic ignored "-Wunused-parameter"
#pragma clang diagnostic ignored "-Wunused-label"
#elif defined(__GNUC__) && !defined(__CLANG__)
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wunused-label"
#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
#endif
#ifdef __cplusplus
extern "C" {
#endif
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__43;
static lean_object* l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__31;
static lean_object* l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__24;
LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__2;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__0;
lean_object* lean_mk_empty_array_with_capacity(lean_object*);
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__54;
static lean_object* l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__34;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl__1___closed__0;
lean_object* l_Lean_TSyntax_getId(lean_object*);
static lean_object* l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__18;
LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__6;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__30;
LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1_spec__2___closed__2;
LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__55;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__7;
lean_object* l_Lean_Environment_header(lean_object*);
lean_object* l_Lean_Syntax_getHeadInfo(lean_object*);
lean_object* l_Lean_indentD(lean_object*);
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__10;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__12;
static lean_object* l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__19;
static lean_object* l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__15;
static lean_object* l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__27;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__4;
LEAN_EXPORT lean_object* l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__50;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__47;
lean_object* lean_array_push(lean_object*, lean_object*);
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__31;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__22;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__4;
static lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1___redArg___closed__4;
lean_object* l_Lean_KVMap_find(lean_object*, lean_object*);
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__15;
lean_object* l_Lean_Syntax_getArgs(lean_object*);
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__9;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__27;
lean_object* l_Lean_replaceRef(lean_object*, lean_object*);
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__51;
LEAN_EXPORT lean_object* l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1_spec__1___boxed(lean_object*, lean_object*);
lean_object* l_Lean_Elab_Command_elabCommand(lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__16;
static lean_object* l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__0;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__56;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__3;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__34;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__29;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__17;
static lean_object* l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__0___redArg___closed__4;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl__1___closed__2;
static lean_object* l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__0___redArg___closed__5;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__38;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__19;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__30;
lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*, uint8_t);
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__32;
static lean_object* l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__1;
static lean_object* l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__17;
lean_object* l_Lean_Syntax_node5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*);
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__63;
lean_object* l_Lean_stringToMessageData(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1___redArg(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__0___redArg(lean_object*, lean_object*);
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__1;
static lean_object* l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__3;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__19;
lean_object* l_Array_mkArray0(lean_object*);
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__21;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__45;
static lean_object* l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__11;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__10;
LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__12;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__26;
LEAN_EXPORT lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl__1___boxed(lean_object*);
lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*);
lean_object* l_Array_mkArray1___redArg(lean_object*);
static lean_object* l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__23;
static lean_object* l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1_spec__2___closed__1;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__28;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__5;
extern lean_object* l_Lean_Elab_Command_instInhabitedScope_default;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__7;
static lean_object* l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__0___redArg___closed__0;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__53;
static lean_object* l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__5;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__23;
extern lean_object* l_Lean_Elab_Command_commandElabAttribute;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__5;
LEAN_EXPORT lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl(lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__59;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__13;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__24;
LEAN_EXPORT lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___boxed(lean_object*);
lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t);
lean_object* l_Lean_MessageData_ofSyntax(lean_object*);
lean_object* l_Lean_Syntax_node6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Array_empty(lean_object*);
LEAN_EXPORT lean_object* l_Lean_getMainModule___at___00Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6_spec__6(lean_object*, lean_object*);
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__8;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__42;
static lean_object* l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__36;
static lean_object* l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__33;
static lean_object* l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__0___redArg___closed__1;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__6;
static lean_object* l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__16;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl__1___closed__1;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__13;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__52;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__8;
LEAN_EXPORT lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Syntax_TSepArray_getElems___redArg(lean_object*);
lean_object* l_Lean_MessageData_ofFormat(lean_object*);
lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*);
static lean_object* l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__30;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__64;
lean_object* lean_st_ref_get(lean_object*);
LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__25;
static lean_object* l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__22;
static lean_object* l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__7;
lean_object* l_Lean_Syntax_getOptional_x3f(lean_object*);
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__18;
lean_object* l_Lean_Name_num___override(lean_object*, lean_object*);
lean_object* l_Lean_Syntax_node3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__7;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__61;
static lean_object* l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__6;
lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__4;
static lean_object* l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__8;
static lean_object* l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__4;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__11;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__27;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__57;
lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__20;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__24;
LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__62;
static lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1___redArg___closed__1;
static lean_object* l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__0___redArg___closed__6;
static lean_object* l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__0___redArg___closed__3;
lean_object* l_Lean_Name_str___override(lean_object*, lean_object*);
extern lean_object* l_Lean_Elab_macroAttribute;
extern lean_object* l_Lean_Elab_pp_macroStack;
lean_object* l_Lean_Syntax_node2(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1_spec__2(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_mkOptionalNode(lean_object*);
lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*);
extern lean_object* l_Lake_DSL_packageDeclName;
uint8_t l_Lean_Syntax_matchesNull(lean_object*, lean_object*);
lean_object* l_Lean_Elab_Command_elabCommand___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__49;
static lean_object* l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__2;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__11;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__11;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__22;
static lean_object* l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__0___redArg___closed__2;
static lean_object* l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__29;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__36;
static lean_object* l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__26;
static lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1___redArg___closed__3;
LEAN_EXPORT lean_object* l_Lean_getMainModule___at___00Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6_spec__6___redArg(lean_object*);
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__2;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__5;
lean_object* l_String_toRawSubstring_x27(lean_object*);
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__12;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__65;
static lean_object* l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__9;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__8;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__9;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__2;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__3;
extern lean_object* l_Lake_PackageConfig_instConfigInfo;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__20;
lean_object* l_Lean_Elab_Command_getRef___redArg(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Syntax_node4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__46;
lean_object* l_List_head_x21___redArg(lean_object*, lean_object*);
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__25;
static lean_object* l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__35;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__14;
static lean_object* l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__13;
static lean_object* l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__21;
lean_object* l_Lean_Elab_Command_withMacroExpansion___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1___redArg___closed__0;
LEAN_EXPORT lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___lam__0(lean_object*, lean_object*);
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__23;
lean_object* l_Lean_Syntax_SepArray_ofElems(lean_object*, lean_object*);
static lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1___redArg___closed__5;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__29;
lean_object* l___private_Lean_Environment_0__Lean_EnvExtension_getStateUnsafe___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*);
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__0;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__33;
lean_object* l_Lake_DSL_expandAttrs(lean_object*);
lean_object* l_Lean_Syntax_node7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Syntax_node1(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_getMainModule___at___00Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6_spec__6___redArg___boxed(lean_object*, lean_object*);
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__26;
uint8_t l_Lean_Syntax_isNone(lean_object*);
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__3;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__40;
lean_object* l_Array_append___redArg(lean_object*, lean_object*);
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__35;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__21;
LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0___redArg(lean_object*, lean_object*, lean_object*);
static lean_object* l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1_spec__2___closed__0;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__20;
lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*);
static lean_object* l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__14;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__9;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__1;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__60;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__58;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__28;
LEAN_EXPORT lean_object* l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1___redArg___closed__2;
LEAN_EXPORT lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl__1();
LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__32;
LEAN_EXPORT lean_object* l_Lean_getMainModule___at___00Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6_spec__6___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1();
lean_object* l_Lean_Macro_throwErrorAt___redArg(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Name_mkStr1(lean_object*);
lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Syntax_mkCApp(lean_object*, lean_object*);
LEAN_EXPORT uint8_t l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1_spec__1(lean_object*, lean_object*);
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__17;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__39;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__15;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__41;
LEAN_EXPORT lean_object* l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__0;
lean_object* l_Lean_Elab_Command_getCurrMacroScope___redArg(lean_object*);
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__16;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__48;
lean_object* l_Lake_DSL_expandOptSimpleBinder(lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__37;
lean_object* l_Lake_DSL_mkConfigDeclIdent(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__28;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__18;
static lean_object* l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__25;
extern lean_object* l_Lake_nameExt;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__6;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__1;
static lean_object* l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__10;
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__10;
lean_object* l___private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__44;
LEAN_EXPORT lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___lam__0___boxed(lean_object*, lean_object*, lean_object*);
lean_object* l_Lake_Name_quoteFrom(lean_object*, lean_object*, uint8_t);
static lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__14;
LEAN_EXPORT lean_object* l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*);
static lean_object* _init_l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1___redArg___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Elab_Command_instInhabitedScope_default;
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1___redArg___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Elab_pp_macroStack;
return x_1;
}
}
LEAN_EXPORT uint8_t l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1_spec__1(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_3 = lean_ctor_get(x_2, 0);
x_4 = lean_ctor_get(x_2, 1);
x_5 = l_Lean_KVMap_find(x_1, x_3);
if (lean_obj_tag(x_5) == 0)
{
uint8_t x_6; 
x_6 = lean_unbox(x_4);
return x_6;
}
else
{
lean_object* x_7; 
x_7 = lean_ctor_get(x_5, 0);
lean_inc(x_7);
lean_dec_ref(x_5);
if (lean_obj_tag(x_7) == 1)
{
uint8_t x_8; 
x_8 = lean_ctor_get_uint8(x_7, 0);
lean_dec_ref(x_7);
return x_8;
}
else
{
uint8_t x_9; 
lean_dec(x_7);
x_9 = lean_unbox(x_4);
return x_9;
}
}
}
}
static lean_object* _init_l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1___redArg___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_box(1);
x_2 = l_Lean_MessageData_ofFormat(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1___redArg___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("with resulting expansion", 24, 24);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1___redArg___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1___redArg___closed__3;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1___redArg___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1___redArg___closed__4;
x_2 = l_Lean_MessageData_ofFormat(x_1);
return x_2;
}
}
static lean_object* _init_l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1_spec__2___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("while expanding", 15, 15);
return x_1;
}
}
static lean_object* _init_l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1_spec__2___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1_spec__2___closed__0;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1_spec__2___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1_spec__2___closed__1;
x_2 = l_Lean_MessageData_ofFormat(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1_spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
if (lean_obj_tag(x_3) == 0)
{
lean_dec_ref(x_1);
return x_2;
}
else
{
uint8_t x_4; 
x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0)
{
lean_object* x_5; uint8_t x_6; 
x_5 = lean_ctor_get(x_3, 0);
x_6 = !lean_is_exclusive(x_5);
if (x_6 == 0)
{
lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; 
x_7 = lean_ctor_get(x_3, 1);
x_8 = lean_ctor_get(x_5, 0);
x_9 = lean_ctor_get(x_5, 1);
lean_dec(x_9);
lean_inc_ref(x_1);
lean_ctor_set_tag(x_5, 7);
lean_ctor_set(x_5, 1, x_1);
lean_ctor_set(x_5, 0, x_2);
x_10 = l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1_spec__2___closed__2;
lean_ctor_set_tag(x_3, 7);
lean_ctor_set(x_3, 1, x_10);
x_11 = l_Lean_MessageData_ofSyntax(x_8);
x_12 = l_Lean_indentD(x_11);
x_13 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_13, 0, x_3);
lean_ctor_set(x_13, 1, x_12);
x_2 = x_13;
x_3 = x_7;
goto _start;
}
else
{
lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; 
x_15 = lean_ctor_get(x_3, 1);
x_16 = lean_ctor_get(x_5, 0);
lean_inc(x_16);
lean_dec(x_5);
lean_inc_ref(x_1);
x_17 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_17, 0, x_2);
lean_ctor_set(x_17, 1, x_1);
x_18 = l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1_spec__2___closed__2;
lean_ctor_set_tag(x_3, 7);
lean_ctor_set(x_3, 1, x_18);
lean_ctor_set(x_3, 0, x_17);
x_19 = l_Lean_MessageData_ofSyntax(x_16);
x_20 = l_Lean_indentD(x_19);
x_21 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_21, 0, x_3);
lean_ctor_set(x_21, 1, x_20);
x_2 = x_21;
x_3 = x_15;
goto _start;
}
}
else
{
lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; 
x_23 = lean_ctor_get(x_3, 0);
x_24 = lean_ctor_get(x_3, 1);
lean_inc(x_24);
lean_inc(x_23);
lean_dec(x_3);
x_25 = lean_ctor_get(x_23, 0);
lean_inc(x_25);
if (lean_is_exclusive(x_23)) {
 lean_ctor_release(x_23, 0);
 lean_ctor_release(x_23, 1);
 x_26 = x_23;
} else {
 lean_dec_ref(x_23);
 x_26 = lean_box(0);
}
lean_inc_ref(x_1);
if (lean_is_scalar(x_26)) {
 x_27 = lean_alloc_ctor(7, 2, 0);
} else {
 x_27 = x_26;
 lean_ctor_set_tag(x_27, 7);
}
lean_ctor_set(x_27, 0, x_2);
lean_ctor_set(x_27, 1, x_1);
x_28 = l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1_spec__2___closed__2;
x_29 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_29, 0, x_27);
lean_ctor_set(x_29, 1, x_28);
x_30 = l_Lean_MessageData_ofSyntax(x_25);
x_31 = l_Lean_indentD(x_30);
x_32 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_32, 0, x_29);
lean_ctor_set(x_32, 1, x_31);
x_2 = x_32;
x_3 = x_24;
goto _start;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; 
x_5 = lean_st_ref_get(x_3);
x_6 = lean_ctor_get(x_5, 2);
lean_inc(x_6);
lean_dec(x_5);
x_7 = l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1___redArg___closed__0;
x_8 = l_List_head_x21___redArg(x_7, x_6);
lean_dec(x_6);
x_9 = lean_ctor_get(x_8, 1);
lean_inc(x_9);
lean_dec(x_8);
x_10 = l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1___redArg___closed__1;
x_11 = l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1_spec__1(x_9, x_10);
lean_dec(x_9);
if (x_11 == 0)
{
lean_object* x_12; 
lean_dec(x_2);
x_12 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_12, 0, x_1);
return x_12;
}
else
{
if (lean_obj_tag(x_2) == 0)
{
lean_object* x_13; 
x_13 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_13, 0, x_1);
return x_13;
}
else
{
lean_object* x_14; uint8_t x_15; 
x_14 = lean_ctor_get(x_2, 0);
lean_inc(x_14);
x_15 = !lean_is_exclusive(x_14);
if (x_15 == 0)
{
lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; 
x_16 = lean_ctor_get(x_14, 1);
x_17 = lean_ctor_get(x_14, 0);
lean_dec(x_17);
x_18 = l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1___redArg___closed__2;
lean_ctor_set_tag(x_14, 7);
lean_ctor_set(x_14, 1, x_18);
lean_ctor_set(x_14, 0, x_1);
x_19 = l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1___redArg___closed__5;
x_20 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_20, 0, x_14);
lean_ctor_set(x_20, 1, x_19);
x_21 = l_Lean_MessageData_ofSyntax(x_16);
x_22 = l_Lean_indentD(x_21);
x_23 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_23, 0, x_20);
lean_ctor_set(x_23, 1, x_22);
x_24 = l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1_spec__2(x_18, x_23, x_2);
x_25 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_25, 0, x_24);
return x_25;
}
else
{
lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; 
x_26 = lean_ctor_get(x_14, 1);
lean_inc(x_26);
lean_dec(x_14);
x_27 = l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1___redArg___closed__2;
x_28 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_28, 0, x_1);
lean_ctor_set(x_28, 1, x_27);
x_29 = l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1___redArg___closed__5;
x_30 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_30, 0, x_28);
lean_ctor_set(x_30, 1, x_29);
x_31 = l_Lean_MessageData_ofSyntax(x_26);
x_32 = l_Lean_indentD(x_31);
x_33 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_33, 0, x_30);
lean_ctor_set(x_33, 1, x_32);
x_34 = l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1_spec__2(x_27, x_33, x_2);
x_35 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_35, 0, x_34);
return x_35;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_6; 
x_6 = l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1___redArg(x_1, x_2, x_4);
return x_6;
}
}
static lean_object* _init_l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__0___redArg___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0));
return x_1;
}
}
static lean_object* _init_l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__0___redArg___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__0___redArg___closed__0;
x_2 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__0___redArg___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__0___redArg___closed__1;
x_2 = lean_unsigned_to_nat(0u);
x_3 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_3, 0, x_2);
lean_ctor_set(x_3, 1, x_2);
lean_ctor_set(x_3, 2, x_2);
lean_ctor_set(x_3, 3, x_1);
lean_ctor_set(x_3, 4, x_1);
lean_ctor_set(x_3, 5, x_1);
lean_ctor_set(x_3, 6, x_1);
lean_ctor_set(x_3, 7, x_1);
lean_ctor_set(x_3, 8, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__0___redArg___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(32u);
x_2 = lean_mk_empty_array_with_capacity(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__0___redArg___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__0___redArg___closed__3;
x_2 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__0___redArg___closed__5() {
_start:
{
size_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = 5;
x_2 = lean_unsigned_to_nat(0u);
x_3 = l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__0___redArg___closed__3;
x_4 = l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__0___redArg___closed__4;
x_5 = lean_alloc_ctor(0, 4, sizeof(size_t)*1);
lean_ctor_set(x_5, 0, x_4);
lean_ctor_set(x_5, 1, x_3);
lean_ctor_set(x_5, 2, x_2);
lean_ctor_set(x_5, 3, x_2);
lean_ctor_set_usize(x_5, 4, x_1);
return x_5;
}
}
static lean_object* _init_l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__0___redArg___closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = lean_box(1);
x_2 = l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__0___redArg___closed__5;
x_3 = l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__0___redArg___closed__1;
x_4 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_4, 0, x_3);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_1);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__0___redArg(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; 
x_4 = lean_st_ref_get(x_2);
x_5 = lean_ctor_get(x_4, 0);
lean_inc_ref(x_5);
lean_dec(x_4);
x_6 = lean_st_ref_get(x_2);
x_7 = lean_ctor_get(x_6, 2);
lean_inc(x_7);
lean_dec(x_6);
x_8 = l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1___redArg___closed__0;
x_9 = l_List_head_x21___redArg(x_8, x_7);
lean_dec(x_7);
x_10 = lean_ctor_get(x_9, 1);
lean_inc(x_10);
lean_dec(x_9);
x_11 = l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__0___redArg___closed__2;
x_12 = l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__0___redArg___closed__6;
x_13 = lean_alloc_ctor(0, 4, 0);
lean_ctor_set(x_13, 0, x_5);
lean_ctor_set(x_13, 1, x_11);
lean_ctor_set(x_13, 2, x_12);
lean_ctor_set(x_13, 3, x_10);
x_14 = lean_alloc_ctor(3, 2, 0);
lean_ctor_set(x_14, 0, x_13);
lean_ctor_set(x_14, 1, x_1);
x_15 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_15, 0, x_14);
return x_15;
}
}
LEAN_EXPORT lean_object* l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_5; 
x_5 = l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__0___redArg(x_1, x_3);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_getMainModule___at___00Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6_spec__6___redArg(lean_object* x_1) {
_start:
{
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; 
x_3 = lean_st_ref_get(x_1);
x_4 = lean_ctor_get(x_3, 0);
lean_inc_ref(x_4);
lean_dec(x_3);
x_5 = l_Lean_Environment_header(x_4);
lean_dec_ref(x_4);
x_6 = lean_ctor_get(x_5, 0);
lean_inc(x_6);
lean_dec_ref(x_5);
x_7 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_7, 0, x_6);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Lean_getMainModule___at___00Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6_spec__6(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_4; 
x_4 = l_Lean_getMainModule___at___00Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6_spec__6___redArg(x_2);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_5; 
x_5 = l_Lean_Elab_Command_getRef___redArg(x_2);
if (lean_obj_tag(x_5) == 0)
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; 
x_6 = lean_ctor_get(x_5, 0);
lean_inc(x_6);
lean_dec_ref(x_5);
x_7 = l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__0___redArg(x_1, x_3);
x_8 = lean_ctor_get(x_7, 0);
lean_inc(x_8);
lean_dec_ref(x_7);
x_9 = lean_ctor_get(x_2, 4);
lean_inc(x_9);
lean_dec_ref(x_2);
lean_inc(x_9);
x_10 = l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1___redArg(x_8, x_9, x_3);
x_11 = !lean_is_exclusive(x_10);
if (x_11 == 0)
{
lean_object* x_12; lean_object* x_13; lean_object* x_14; 
x_12 = lean_ctor_get(x_10, 0);
x_13 = l_Lean_Elab_getBetterRef(x_6, x_9);
lean_dec(x_6);
x_14 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_14, 0, x_13);
lean_ctor_set(x_14, 1, x_12);
lean_ctor_set_tag(x_10, 1);
lean_ctor_set(x_10, 0, x_14);
return x_10;
}
else
{
lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; 
x_15 = lean_ctor_get(x_10, 0);
lean_inc(x_15);
lean_dec(x_10);
x_16 = l_Lean_Elab_getBetterRef(x_6, x_9);
lean_dec(x_6);
x_17 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_17, 0, x_16);
lean_ctor_set(x_17, 1, x_15);
x_18 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_18, 0, x_17);
return x_18;
}
}
else
{
uint8_t x_19; 
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_19 = !lean_is_exclusive(x_5);
if (x_19 == 0)
{
return x_5;
}
else
{
lean_object* x_20; lean_object* x_21; 
x_20 = lean_ctor_get(x_5, 0);
lean_inc(x_20);
lean_dec(x_5);
x_21 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_21, 0, x_20);
return x_21;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_6; 
x_6 = l_Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0___redArg(x_2, x_3, x_4);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_6; 
x_6 = l_Lean_Elab_Command_getRef___redArg(x_3);
if (lean_obj_tag(x_6) == 0)
{
lean_object* x_7; uint8_t x_8; 
x_7 = lean_ctor_get(x_6, 0);
lean_inc(x_7);
lean_dec_ref(x_6);
x_8 = !lean_is_exclusive(x_3);
if (x_8 == 0)
{
lean_object* x_9; lean_object* x_10; lean_object* x_11; 
x_9 = lean_ctor_get(x_3, 7);
lean_dec(x_9);
x_10 = l_Lean_replaceRef(x_1, x_7);
lean_dec(x_7);
lean_ctor_set(x_3, 7, x_10);
x_11 = l_Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0___redArg(x_2, x_3, x_4);
return x_11;
}
else
{
lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; 
x_12 = lean_ctor_get(x_3, 0);
x_13 = lean_ctor_get(x_3, 1);
x_14 = lean_ctor_get(x_3, 2);
x_15 = lean_ctor_get(x_3, 3);
x_16 = lean_ctor_get(x_3, 4);
x_17 = lean_ctor_get(x_3, 5);
x_18 = lean_ctor_get(x_3, 6);
x_19 = lean_ctor_get(x_3, 8);
x_20 = lean_ctor_get(x_3, 9);
x_21 = lean_ctor_get_uint8(x_3, sizeof(void*)*10);
lean_inc(x_20);
lean_inc(x_19);
lean_inc(x_18);
lean_inc(x_17);
lean_inc(x_16);
lean_inc(x_15);
lean_inc(x_14);
lean_inc(x_13);
lean_inc(x_12);
lean_dec(x_3);
x_22 = l_Lean_replaceRef(x_1, x_7);
lean_dec(x_7);
x_23 = lean_alloc_ctor(0, 10, 1);
lean_ctor_set(x_23, 0, x_12);
lean_ctor_set(x_23, 1, x_13);
lean_ctor_set(x_23, 2, x_14);
lean_ctor_set(x_23, 3, x_15);
lean_ctor_set(x_23, 4, x_16);
lean_ctor_set(x_23, 5, x_17);
lean_ctor_set(x_23, 6, x_18);
lean_ctor_set(x_23, 7, x_22);
lean_ctor_set(x_23, 8, x_19);
lean_ctor_set(x_23, 9, x_20);
lean_ctor_set_uint8(x_23, sizeof(void*)*10, x_21);
x_24 = l_Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0___redArg(x_2, x_23, x_4);
return x_24;
}
}
else
{
uint8_t x_25; 
lean_dec_ref(x_3);
lean_dec_ref(x_2);
x_25 = !lean_is_exclusive(x_6);
if (x_25 == 0)
{
return x_6;
}
else
{
lean_object* x_26; lean_object* x_27; 
x_26 = lean_ctor_get(x_6, 0);
lean_inc(x_26);
lean_dec(x_6);
x_27 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_27, 0, x_26);
return x_27;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_7; 
x_7 = l_Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0___redArg(x_2, x_3, x_4, x_5);
return x_7;
}
}
static lean_object* _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("declaration", 11, 11);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("declModifiers", 13, 13);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("null", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__2;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = l_Array_mkArray0(lean_box(0));
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__5() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("definition", 10, 10);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__6() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("def", 3, 3);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__7() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("declId", 6, 6);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(0u);
x_2 = lean_mk_empty_array_with_capacity(x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__9() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(2u);
x_2 = lean_mk_empty_array_with_capacity(x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__10() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("optDeclSig", 10, 10);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__11() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Term", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__12() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("typeSpec", 8, 8);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__13() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(":", 1, 1);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__14() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(3u);
x_2 = lean_mk_empty_array_with_capacity(x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__15() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("where", 5, 5);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__16() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Lean", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__17() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Parser", 6, 6);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__18() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Command", 7, 7);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__19() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("whereStructInst", 15, 15);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__20() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__19;
x_2 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__18;
x_3 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__17;
x_4 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__16;
x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1);
return x_5;
}
}
static lean_object* _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__21() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Lake", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__22() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("DSL", 3, 3);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__23() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("optConfig", 9, 9);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__24() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__23;
x_2 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__22;
x_3 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__21;
x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__25() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("ill-formed configuration syntax", 31, 31);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__26() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__25;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__27() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("declValWhere", 12, 12);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__28() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__27;
x_2 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__22;
x_3 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__21;
x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__29() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("declValStruct", 13, 13);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__30() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__29;
x_2 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__22;
x_3 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__21;
x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__31() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("structVal", 9, 9);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__32() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__31;
x_2 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__22;
x_3 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__21;
x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__33() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("structInstFields", 16, 16);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__34() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__33;
x_2 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__11;
x_3 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__17;
x_4 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__16;
x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1);
return x_5;
}
}
static lean_object* _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__35() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("whereDecls", 10, 10);
return x_1;
}
}
static lean_object* _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__36() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__35;
x_2 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__11;
x_3 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__17;
x_4 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__16;
x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_107; uint8_t x_108; 
x_83 = l_Lake_PackageConfig_instConfigInfo;
x_107 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__24;
lean_inc(x_4);
x_108 = l_Lean_Syntax_isOfKind(x_4, x_107);
if (x_108 == 0)
{
lean_object* x_109; lean_object* x_110; 
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_109 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__26;
x_110 = l_Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0___redArg(x_4, x_109, x_5, x_6);
lean_dec(x_6);
lean_dec(x_4);
return x_110;
}
else
{
lean_object* x_111; lean_object* x_112; uint8_t x_113; 
x_111 = lean_unsigned_to_nat(0u);
x_112 = l_Lean_Syntax_getArg(x_4, x_111);
lean_inc(x_112);
x_113 = l_Lean_Syntax_matchesNull(x_112, x_111);
if (x_113 == 0)
{
lean_object* x_114; uint8_t x_115; 
x_114 = lean_unsigned_to_nat(1u);
lean_inc(x_112);
x_115 = l_Lean_Syntax_matchesNull(x_112, x_114);
if (x_115 == 0)
{
lean_object* x_116; lean_object* x_117; 
lean_dec(x_112);
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_116 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__26;
x_117 = l_Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0___redArg(x_4, x_116, x_5, x_6);
lean_dec(x_6);
lean_dec(x_4);
return x_117;
}
else
{
lean_object* x_118; lean_object* x_119; uint8_t x_120; 
x_118 = l_Lean_Syntax_getArg(x_112, x_111);
lean_dec(x_112);
x_119 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__28;
lean_inc(x_118);
x_120 = l_Lean_Syntax_isOfKind(x_118, x_119);
if (x_120 == 0)
{
lean_object* x_121; uint8_t x_122; 
x_121 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__30;
lean_inc(x_118);
x_122 = l_Lean_Syntax_isOfKind(x_118, x_121);
if (x_122 == 0)
{
lean_object* x_123; lean_object* x_124; 
lean_dec(x_118);
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_123 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__26;
x_124 = l_Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0___redArg(x_4, x_123, x_5, x_6);
lean_dec(x_6);
lean_dec(x_4);
return x_124;
}
else
{
lean_object* x_125; lean_object* x_126; uint8_t x_127; 
x_125 = l_Lean_Syntax_getArg(x_118, x_111);
x_126 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__32;
lean_inc(x_125);
x_127 = l_Lean_Syntax_isOfKind(x_125, x_126);
if (x_127 == 0)
{
lean_object* x_128; lean_object* x_129; 
lean_dec(x_125);
lean_dec(x_118);
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_128 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__26;
x_129 = l_Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0___redArg(x_4, x_128, x_5, x_6);
lean_dec(x_6);
lean_dec(x_4);
return x_129;
}
else
{
lean_object* x_130; lean_object* x_131; uint8_t x_132; 
x_130 = l_Lean_Syntax_getArg(x_125, x_114);
x_131 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__34;
lean_inc(x_130);
x_132 = l_Lean_Syntax_isOfKind(x_130, x_131);
if (x_132 == 0)
{
lean_object* x_133; lean_object* x_134; 
lean_dec(x_130);
lean_dec(x_125);
lean_dec(x_118);
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_133 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__26;
x_134 = l_Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0___redArg(x_4, x_133, x_5, x_6);
lean_dec(x_6);
lean_dec(x_4);
return x_134;
}
else
{
lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_145; uint8_t x_146; 
x_135 = l_Lean_Syntax_getArg(x_125, x_111);
lean_dec(x_125);
x_136 = l_Lean_Syntax_getArg(x_130, x_111);
lean_dec(x_130);
x_145 = l_Lean_Syntax_getArg(x_118, x_114);
lean_dec(x_118);
x_146 = l_Lean_Syntax_isNone(x_145);
if (x_146 == 0)
{
uint8_t x_147; 
lean_inc(x_145);
x_147 = l_Lean_Syntax_matchesNull(x_145, x_114);
if (x_147 == 0)
{
lean_object* x_148; lean_object* x_149; 
lean_dec(x_145);
lean_dec(x_136);
lean_dec(x_135);
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_148 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__26;
x_149 = l_Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0___redArg(x_4, x_148, x_5, x_6);
lean_dec(x_6);
lean_dec(x_4);
return x_149;
}
else
{
lean_object* x_150; lean_object* x_151; uint8_t x_152; 
x_150 = l_Lean_Syntax_getArg(x_145, x_111);
lean_dec(x_145);
x_151 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__36;
lean_inc(x_150);
x_152 = l_Lean_Syntax_isOfKind(x_150, x_151);
if (x_152 == 0)
{
lean_object* x_153; lean_object* x_154; 
lean_dec(x_150);
lean_dec(x_136);
lean_dec(x_135);
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_153 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__26;
x_154 = l_Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0___redArg(x_4, x_153, x_5, x_6);
lean_dec(x_6);
lean_dec(x_4);
return x_154;
}
else
{
lean_object* x_155; 
x_155 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_155, 0, x_150);
x_137 = x_155;
x_138 = x_5;
x_139 = x_6;
x_140 = lean_box(0);
goto block_144;
}
}
}
else
{
lean_object* x_156; 
lean_dec(x_145);
x_156 = lean_box(0);
x_137 = x_156;
x_138 = x_5;
x_139 = x_6;
x_140 = lean_box(0);
goto block_144;
}
block_144:
{
lean_object* x_141; lean_object* x_142; lean_object* x_143; 
x_141 = l_Lean_Syntax_getArgs(x_136);
lean_dec(x_136);
x_142 = l_Lean_Syntax_getHeadInfo(x_135);
lean_dec(x_135);
x_143 = l_Lean_Syntax_TSepArray_getElems___redArg(x_141);
lean_dec_ref(x_141);
x_84 = x_142;
x_85 = x_143;
x_86 = x_137;
x_87 = x_138;
x_88 = x_139;
x_89 = lean_box(0);
goto block_106;
}
}
}
}
}
else
{
lean_object* x_157; lean_object* x_158; uint8_t x_159; 
x_157 = l_Lean_Syntax_getArg(x_118, x_114);
x_158 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__34;
lean_inc(x_157);
x_159 = l_Lean_Syntax_isOfKind(x_157, x_158);
if (x_159 == 0)
{
lean_object* x_160; lean_object* x_161; 
lean_dec(x_157);
lean_dec(x_118);
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_160 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__26;
x_161 = l_Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0___redArg(x_4, x_160, x_5, x_6);
lean_dec(x_6);
lean_dec(x_4);
return x_161;
}
else
{
lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_172; lean_object* x_173; uint8_t x_174; 
x_162 = l_Lean_Syntax_getArg(x_118, x_111);
x_163 = l_Lean_Syntax_getArg(x_157, x_111);
lean_dec(x_157);
x_172 = lean_unsigned_to_nat(2u);
x_173 = l_Lean_Syntax_getArg(x_118, x_172);
lean_dec(x_118);
x_174 = l_Lean_Syntax_isNone(x_173);
if (x_174 == 0)
{
uint8_t x_175; 
lean_inc(x_173);
x_175 = l_Lean_Syntax_matchesNull(x_173, x_114);
if (x_175 == 0)
{
lean_object* x_176; lean_object* x_177; 
lean_dec(x_173);
lean_dec(x_163);
lean_dec(x_162);
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_176 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__26;
x_177 = l_Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0___redArg(x_4, x_176, x_5, x_6);
lean_dec(x_6);
lean_dec(x_4);
return x_177;
}
else
{
lean_object* x_178; lean_object* x_179; uint8_t x_180; 
x_178 = l_Lean_Syntax_getArg(x_173, x_111);
lean_dec(x_173);
x_179 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__36;
lean_inc(x_178);
x_180 = l_Lean_Syntax_isOfKind(x_178, x_179);
if (x_180 == 0)
{
lean_object* x_181; lean_object* x_182; 
lean_dec(x_178);
lean_dec(x_163);
lean_dec(x_162);
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_181 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__26;
x_182 = l_Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0___redArg(x_4, x_181, x_5, x_6);
lean_dec(x_6);
lean_dec(x_4);
return x_182;
}
else
{
lean_object* x_183; 
x_183 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_183, 0, x_178);
x_164 = x_183;
x_165 = x_5;
x_166 = x_6;
x_167 = lean_box(0);
goto block_171;
}
}
}
else
{
lean_object* x_184; 
lean_dec(x_173);
x_184 = lean_box(0);
x_164 = x_184;
x_165 = x_5;
x_166 = x_6;
x_167 = lean_box(0);
goto block_171;
}
block_171:
{
lean_object* x_168; lean_object* x_169; lean_object* x_170; 
x_168 = l_Lean_Syntax_getArgs(x_163);
lean_dec(x_163);
x_169 = l_Lean_Syntax_getHeadInfo(x_162);
lean_dec(x_162);
x_170 = l_Lean_Syntax_TSepArray_getElems___redArg(x_168);
lean_dec_ref(x_168);
x_84 = x_169;
x_85 = x_170;
x_86 = x_164;
x_87 = x_165;
x_88 = x_166;
x_89 = lean_box(0);
goto block_106;
}
}
}
}
}
else
{
lean_object* x_185; lean_object* x_186; lean_object* x_187; 
lean_dec(x_112);
x_185 = lean_box(2);
x_186 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__8;
x_187 = lean_box(0);
x_84 = x_185;
x_85 = x_186;
x_86 = x_187;
x_87 = x_5;
x_88 = x_6;
x_89 = lean_box(0);
goto block_106;
}
}
block_51:
{
lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; 
x_17 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__0;
lean_inc_ref(x_14);
lean_inc_ref(x_13);
lean_inc_ref(x_8);
x_18 = l_Lean_Name_mkStr4(x_8, x_13, x_14, x_17);
x_19 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__1;
lean_inc_ref(x_14);
lean_inc_ref(x_13);
lean_inc_ref(x_8);
x_20 = l_Lean_Name_mkStr4(x_8, x_13, x_14, x_19);
x_21 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__3;
x_22 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__4;
lean_inc(x_11);
x_23 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_23, 0, x_11);
lean_ctor_set(x_23, 1, x_21);
lean_ctor_set(x_23, 2, x_22);
lean_inc_ref_n(x_23, 7);
lean_inc(x_11);
x_24 = l_Lean_Syntax_node7(x_11, x_20, x_23, x_23, x_23, x_23, x_23, x_23, x_23);
x_25 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__5;
lean_inc_ref(x_14);
lean_inc_ref(x_13);
lean_inc_ref(x_8);
x_26 = l_Lean_Name_mkStr4(x_8, x_13, x_14, x_25);
x_27 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__6;
lean_inc(x_11);
x_28 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_28, 0, x_11);
lean_ctor_set(x_28, 1, x_27);
x_29 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__7;
lean_inc_ref(x_14);
lean_inc_ref(x_13);
lean_inc_ref(x_8);
x_30 = l_Lean_Name_mkStr4(x_8, x_13, x_14, x_29);
x_31 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__8;
lean_inc(x_15);
x_32 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_32, 0, x_15);
lean_ctor_set(x_32, 1, x_21);
lean_ctor_set(x_32, 2, x_31);
x_33 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__9;
x_34 = lean_array_push(x_33, x_2);
x_35 = lean_array_push(x_34, x_32);
x_36 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_36, 0, x_15);
lean_ctor_set(x_36, 1, x_30);
lean_ctor_set(x_36, 2, x_35);
x_37 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__10;
lean_inc_ref(x_13);
lean_inc_ref(x_8);
x_38 = l_Lean_Name_mkStr4(x_8, x_13, x_14, x_37);
x_39 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__11;
x_40 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__12;
x_41 = l_Lean_Name_mkStr4(x_8, x_13, x_39, x_40);
x_42 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__13;
lean_inc(x_11);
x_43 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_43, 0, x_11);
lean_ctor_set(x_43, 1, x_42);
lean_inc(x_11);
x_44 = l_Lean_Syntax_node2(x_11, x_41, x_43, x_3);
lean_inc(x_11);
x_45 = l_Lean_Syntax_node1(x_11, x_21, x_44);
lean_inc_ref(x_23);
lean_inc(x_11);
x_46 = l_Lean_Syntax_node2(x_11, x_38, x_23, x_45);
lean_inc(x_11);
x_47 = l_Lean_Syntax_node5(x_11, x_26, x_28, x_36, x_46, x_9, x_23);
x_48 = l_Lean_Syntax_node2(x_11, x_18, x_24, x_47);
lean_inc(x_48);
x_49 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand___boxed), 4, 1);
lean_closure_set(x_49, 0, x_48);
x_50 = l_Lean_Elab_Command_withMacroExpansion___redArg(x_4, x_48, x_49, x_10, x_12);
return x_50;
}
block_82:
{
lean_object* x_62; 
x_62 = l_Lean_Elab_Command_getRef___redArg(x_55);
if (lean_obj_tag(x_62) == 0)
{
lean_object* x_63; lean_object* x_64; 
x_63 = lean_ctor_get(x_62, 0);
lean_inc(x_63);
lean_dec_ref(x_62);
x_64 = l_Lean_Elab_Command_getCurrMacroScope___redArg(x_55);
if (lean_obj_tag(x_64) == 0)
{
lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; uint8_t x_73; lean_object* x_74; 
lean_dec_ref(x_64);
x_65 = lean_ctor_get(x_55, 5);
x_66 = l_Lean_mkOptionalNode(x_61);
x_67 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__14;
x_68 = lean_array_push(x_67, x_56);
x_69 = lean_array_push(x_68, x_58);
x_70 = lean_array_push(x_69, x_66);
x_71 = lean_box(2);
x_72 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_72, 0, x_71);
lean_ctor_set(x_72, 1, x_53);
lean_ctor_set(x_72, 2, x_70);
x_73 = 0;
x_74 = l_Lean_SourceInfo_fromRef(x_63, x_73);
lean_dec(x_63);
if (lean_obj_tag(x_65) == 0)
{
lean_object* x_75; 
x_75 = l_Lean_getMainModule___at___00Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6_spec__6___redArg(x_57);
lean_dec_ref(x_75);
x_8 = x_52;
x_9 = x_72;
x_10 = x_55;
x_11 = x_74;
x_12 = x_57;
x_13 = x_59;
x_14 = x_60;
x_15 = x_71;
x_16 = lean_box(0);
goto block_51;
}
else
{
x_8 = x_52;
x_9 = x_72;
x_10 = x_55;
x_11 = x_74;
x_12 = x_57;
x_13 = x_59;
x_14 = x_60;
x_15 = x_71;
x_16 = lean_box(0);
goto block_51;
}
}
else
{
uint8_t x_76; 
lean_dec(x_63);
lean_dec(x_61);
lean_dec_ref(x_60);
lean_dec_ref(x_59);
lean_dec(x_58);
lean_dec(x_57);
lean_dec(x_56);
lean_dec_ref(x_55);
lean_dec(x_53);
lean_dec_ref(x_52);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_76 = !lean_is_exclusive(x_64);
if (x_76 == 0)
{
return x_64;
}
else
{
lean_object* x_77; lean_object* x_78; 
x_77 = lean_ctor_get(x_64, 0);
lean_inc(x_77);
lean_dec(x_64);
x_78 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_78, 0, x_77);
return x_78;
}
}
}
else
{
uint8_t x_79; 
lean_dec(x_61);
lean_dec_ref(x_60);
lean_dec_ref(x_59);
lean_dec(x_58);
lean_dec(x_57);
lean_dec(x_56);
lean_dec_ref(x_55);
lean_dec(x_53);
lean_dec_ref(x_52);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_79 = !lean_is_exclusive(x_62);
if (x_79 == 0)
{
return x_62;
}
else
{
lean_object* x_80; lean_object* x_81; 
x_80 = lean_ctor_get(x_62, 0);
lean_inc(x_80);
lean_dec(x_62);
x_81 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_81, 0, x_80);
return x_81;
}
}
}
block_106:
{
lean_object* x_90; lean_object* x_91; 
x_90 = lean_ctor_get(x_83, 1);
lean_inc(x_90);
lean_inc_ref(x_87);
x_91 = l___private_Lake_DSL_DeclUtil_0__Lake_DSL_mkConfigFields(x_1, x_90, x_85, x_87, x_88);
lean_dec_ref(x_85);
lean_dec(x_90);
if (lean_obj_tag(x_91) == 0)
{
lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; 
x_92 = lean_ctor_get(x_91, 0);
lean_inc(x_92);
lean_dec_ref(x_91);
x_93 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__15;
x_94 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_94, 0, x_84);
lean_ctor_set(x_94, 1, x_93);
x_95 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__16;
x_96 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__17;
x_97 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__18;
x_98 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__20;
if (lean_obj_tag(x_86) == 0)
{
lean_object* x_99; 
x_99 = lean_box(0);
x_52 = x_95;
x_53 = x_98;
x_54 = lean_box(0);
x_55 = x_87;
x_56 = x_94;
x_57 = x_88;
x_58 = x_92;
x_59 = x_96;
x_60 = x_97;
x_61 = x_99;
goto block_82;
}
else
{
uint8_t x_100; 
x_100 = !lean_is_exclusive(x_86);
if (x_100 == 0)
{
x_52 = x_95;
x_53 = x_98;
x_54 = lean_box(0);
x_55 = x_87;
x_56 = x_94;
x_57 = x_88;
x_58 = x_92;
x_59 = x_96;
x_60 = x_97;
x_61 = x_86;
goto block_82;
}
else
{
lean_object* x_101; lean_object* x_102; 
x_101 = lean_ctor_get(x_86, 0);
lean_inc(x_101);
lean_dec(x_86);
x_102 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_102, 0, x_101);
x_52 = x_95;
x_53 = x_98;
x_54 = lean_box(0);
x_55 = x_87;
x_56 = x_94;
x_57 = x_88;
x_58 = x_92;
x_59 = x_96;
x_60 = x_97;
x_61 = x_102;
goto block_82;
}
}
}
else
{
uint8_t x_103; 
lean_dec(x_88);
lean_dec_ref(x_87);
lean_dec(x_86);
lean_dec(x_84);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_103 = !lean_is_exclusive(x_91);
if (x_103 == 0)
{
return x_91;
}
else
{
lean_object* x_104; lean_object* x_105; 
x_104 = lean_ctor_get(x_91, 0);
lean_inc(x_104);
lean_dec(x_91);
x_105 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_105, 0, x_104);
return x_105;
}
}
}
}
}
LEAN_EXPORT lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___lam__0(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_4; 
x_4 = l_Lean_Elab_Command_getRef___redArg(x_1);
if (lean_obj_tag(x_4) == 0)
{
uint8_t x_5; 
x_5 = !lean_is_exclusive(x_4);
if (x_5 == 0)
{
lean_object* x_6; uint8_t x_7; lean_object* x_8; 
x_6 = lean_ctor_get(x_4, 0);
x_7 = 0;
x_8 = l_Lean_SourceInfo_fromRef(x_6, x_7);
lean_dec(x_6);
lean_ctor_set(x_4, 0, x_8);
return x_4;
}
else
{
lean_object* x_9; uint8_t x_10; lean_object* x_11; lean_object* x_12; 
x_9 = lean_ctor_get(x_4, 0);
lean_inc(x_9);
lean_dec(x_4);
x_10 = 0;
x_11 = l_Lean_SourceInfo_fromRef(x_9, x_10);
lean_dec(x_9);
x_12 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_12, 0, x_11);
return x_12;
}
}
else
{
uint8_t x_13; 
x_13 = !lean_is_exclusive(x_4);
if (x_13 == 0)
{
return x_4;
}
else
{
lean_object* x_14; lean_object* x_15; 
x_14 = lean_ctor_get(x_4, 0);
lean_inc(x_14);
lean_dec(x_4);
x_15 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_15, 0, x_14);
return x_15;
}
}
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("deprecated", 10, 10);
return x_1;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("str", 3, 3);
return x_1;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__1;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("\"Use `__name__` instead.\"", 25, 25);
return x_1;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("(", 1, 1);
return x_1;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__5() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("since", 5, 5);
return x_1;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__6() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("\"2025-09-18\"", 12, 12);
return x_1;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__7() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(")", 1, 1);
return x_1;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__8() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("nameConst", 9, 9);
return x_1;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__9() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__8;
x_2 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__22;
x_3 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__21;
x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1);
return x_4;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__10() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("__name__", 8, 8);
return x_1;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__11() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("packageCommand", 14, 14);
return x_1;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__12() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__11;
x_2 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__22;
x_3 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__21;
x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1);
return x_4;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__13() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("ill-formed package declaration", 30, 30);
return x_1;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__14() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__13;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__15() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("attributes", 10, 10);
return x_1;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__16() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("@[", 2, 2);
return x_1;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__17() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("]", 1, 1);
return x_1;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__18() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("abbrev", 6, 6);
return x_1;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__19() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("PackageDecl", 11, 11);
return x_1;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__20() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__19;
x_2 = l_String_toRawSubstring_x27(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__21() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__19;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__22() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__19;
x_2 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__21;
x_3 = l_Lean_Name_mkStr2(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__23() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__22;
x_3 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_3, 0, x_2);
lean_ctor_set(x_3, 1, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__24() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__22;
x_2 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__25() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("declValSimple", 13, 13);
return x_1;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__26() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Termination", 11, 11);
return x_1;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__27() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("suffix", 6, 6);
return x_1;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__28() {
_start:
{
lean_object* x_1; 
x_1 = l_Array_empty(lean_box(0));
return x_1;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__29() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("structInst", 10, 10);
return x_1;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__30() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("{", 1, 1);
return x_1;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__31() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("structInstField", 15, 15);
return x_1;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__32() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("structInstLVal", 14, 14);
return x_1;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__33() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("name", 4, 4);
return x_1;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__34() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__33;
x_2 = l_String_toRawSubstring_x27(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__35() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__33;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__36() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("structInstFieldDef", 18, 18);
return x_1;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__37() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(":=", 2, 2);
return x_1;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__38() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(",", 1, 1);
return x_1;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__39() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("origName", 8, 8);
return x_1;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__40() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__39;
x_2 = l_String_toRawSubstring_x27(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__41() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__39;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__42() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("config", 6, 6);
return x_1;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__43() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__42;
x_2 = l_String_toRawSubstring_x27(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__44() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__42;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__45() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("optEllipsis", 11, 11);
return x_1;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__46() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("}", 1, 1);
return x_1;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__47() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("attrInstance", 12, 12);
return x_1;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__48() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__47;
x_2 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__11;
x_3 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__17;
x_4 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__16;
x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1);
return x_5;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__49() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("attrKind", 8, 8);
return x_1;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__50() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__49;
x_2 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__11;
x_3 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__17;
x_4 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__16;
x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1);
return x_5;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__51() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Attr", 4, 4);
return x_1;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__52() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("simple", 6, 6);
return x_1;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__53() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__52;
x_2 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__51;
x_3 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__17;
x_4 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__16;
x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1);
return x_5;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__54() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("«package»", 11, 9);
return x_1;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__55() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__54;
x_2 = l_String_toRawSubstring_x27(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__56() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("package", 7, 7);
return x_1;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__57() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__56;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__58() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(1u);
x_2 = lean_mk_empty_array_with_capacity(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__59() {
_start:
{
lean_object* x_1; 
x_1 = l_Lake_DSL_packageDeclName;
return x_1;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__60() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("PackageConfig", 13, 13);
return x_1;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__61() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__60;
x_2 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__21;
x_3 = l_Lean_Name_mkStr2(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__62() {
_start:
{
lean_object* x_1; 
x_1 = l_Lake_nameExt;
return x_1;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__63() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("pkgConfig", 9, 9);
return x_1;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__64() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__63;
x_2 = l_String_toRawSubstring_x27(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__65() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__63;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_74; uint8_t x_75; 
x_74 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__12;
lean_inc(x_1);
x_75 = l_Lean_Syntax_isOfKind(x_1, x_74);
if (x_75 == 0)
{
lean_object* x_76; lean_object* x_77; 
x_76 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__14;
x_77 = l_Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0___redArg(x_1, x_76, x_2, x_3);
lean_dec(x_3);
lean_dec(x_1);
return x_77;
}
else
{
lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; uint8_t x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; uint8_t x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; uint8_t x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; uint8_t x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; uint8_t x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; uint8_t x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_500; lean_object* x_501; uint8_t x_502; 
x_78 = lean_unsigned_to_nat(0u);
x_79 = l_Lean_Syntax_getArg(x_1, x_78);
x_80 = lean_unsigned_to_nat(1u);
x_81 = l_Lean_Syntax_getArg(x_1, x_80);
x_82 = lean_unsigned_to_nat(2u);
x_416 = l_Lean_Syntax_getArg(x_1, x_82);
x_500 = lean_unsigned_to_nat(3u);
x_501 = l_Lean_Syntax_getArg(x_1, x_500);
x_502 = l_Lean_Syntax_isNone(x_501);
if (x_502 == 0)
{
uint8_t x_503; 
lean_inc(x_501);
x_503 = l_Lean_Syntax_matchesNull(x_501, x_80);
if (x_503 == 0)
{
lean_object* x_504; lean_object* x_505; 
lean_dec(x_501);
lean_dec(x_416);
lean_dec(x_81);
lean_dec(x_79);
x_504 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__14;
x_505 = l_Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0___redArg(x_1, x_504, x_2, x_3);
lean_dec(x_3);
lean_dec(x_1);
return x_505;
}
else
{
lean_object* x_506; lean_object* x_507; 
x_506 = l_Lean_Syntax_getArg(x_501, x_78);
lean_dec(x_501);
x_507 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_507, 0, x_506);
x_488 = x_507;
x_489 = x_2;
x_490 = x_3;
x_491 = lean_box(0);
goto block_499;
}
}
else
{
lean_object* x_508; 
lean_dec(x_501);
x_508 = lean_box(0);
x_488 = x_508;
x_489 = x_2;
x_490 = x_3;
x_491 = lean_box(0);
goto block_499;
}
block_178:
{
lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; 
lean_inc_ref(x_88);
x_110 = l_Array_append___redArg(x_88, x_109);
lean_dec_ref(x_109);
lean_inc(x_102);
lean_inc(x_90);
x_111 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_111, 0, x_90);
lean_ctor_set(x_111, 1, x_102);
lean_ctor_set(x_111, 2, x_110);
x_112 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__15;
lean_inc_ref(x_105);
lean_inc_ref(x_99);
lean_inc_ref(x_106);
x_113 = l_Lean_Name_mkStr4(x_106, x_99, x_105, x_112);
x_114 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__16;
lean_inc(x_90);
x_115 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_115, 0, x_90);
lean_ctor_set(x_115, 1, x_114);
x_116 = l_Lean_Syntax_SepArray_ofElems(x_100, x_91);
lean_dec_ref(x_91);
lean_inc_ref(x_88);
x_117 = l_Array_append___redArg(x_88, x_116);
lean_dec_ref(x_116);
lean_inc(x_102);
lean_inc(x_90);
x_118 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_118, 0, x_90);
lean_ctor_set(x_118, 1, x_102);
lean_ctor_set(x_118, 2, x_117);
x_119 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__17;
lean_inc(x_90);
x_120 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_120, 0, x_90);
lean_ctor_set(x_120, 1, x_119);
lean_inc(x_113);
lean_inc(x_90);
x_121 = l_Lean_Syntax_node3(x_90, x_113, x_115, x_118, x_120);
lean_inc(x_102);
lean_inc(x_90);
x_122 = l_Lean_Syntax_node1(x_90, x_102, x_121);
lean_inc_ref(x_88);
lean_inc(x_102);
lean_inc(x_90);
x_123 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_123, 0, x_90);
lean_ctor_set(x_123, 1, x_102);
lean_ctor_set(x_123, 2, x_88);
lean_inc_ref_n(x_123, 5);
lean_inc(x_87);
lean_inc(x_90);
x_124 = l_Lean_Syntax_node7(x_90, x_87, x_111, x_122, x_123, x_123, x_123, x_123, x_123);
x_125 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__18;
lean_inc_ref(x_86);
lean_inc_ref(x_99);
lean_inc_ref(x_106);
x_126 = l_Lean_Name_mkStr4(x_106, x_99, x_86, x_125);
lean_inc(x_90);
x_127 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_127, 0, x_90);
lean_ctor_set(x_127, 1, x_125);
x_128 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__7;
lean_inc_ref(x_86);
lean_inc_ref(x_99);
lean_inc_ref(x_106);
x_129 = l_Lean_Name_mkStr4(x_106, x_99, x_86, x_128);
x_130 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__8;
x_131 = lean_box(2);
lean_inc(x_102);
x_132 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_132, 0, x_131);
lean_ctor_set(x_132, 1, x_102);
lean_ctor_set(x_132, 2, x_130);
x_133 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__9;
lean_inc(x_83);
x_134 = lean_array_push(x_133, x_83);
lean_inc_ref(x_132);
x_135 = lean_array_push(x_134, x_132);
lean_inc(x_129);
x_136 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_136, 0, x_131);
lean_ctor_set(x_136, 1, x_129);
lean_ctor_set(x_136, 2, x_135);
x_137 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__10;
lean_inc_ref(x_86);
lean_inc_ref(x_99);
lean_inc_ref(x_106);
x_138 = l_Lean_Name_mkStr4(x_106, x_99, x_86, x_137);
x_139 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__12;
lean_inc_ref(x_99);
lean_inc_ref(x_106);
x_140 = l_Lean_Name_mkStr4(x_106, x_99, x_105, x_139);
x_141 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__13;
lean_inc(x_90);
x_142 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_142, 0, x_90);
lean_ctor_set(x_142, 1, x_141);
x_143 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__20;
x_144 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__21;
x_145 = l_Lean_addMacroScope(x_85, x_144, x_97);
x_146 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__23;
x_147 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__24;
x_148 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_148, 0, x_147);
lean_ctor_set(x_148, 1, x_107);
x_149 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_149, 0, x_146);
lean_ctor_set(x_149, 1, x_148);
lean_inc(x_90);
x_150 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_150, 0, x_90);
lean_ctor_set(x_150, 1, x_143);
lean_ctor_set(x_150, 2, x_145);
lean_ctor_set(x_150, 3, x_149);
lean_inc(x_90);
x_151 = l_Lean_Syntax_node2(x_90, x_140, x_142, x_150);
lean_inc(x_102);
lean_inc(x_90);
x_152 = l_Lean_Syntax_node1(x_90, x_102, x_151);
lean_inc_ref(x_123);
lean_inc(x_138);
lean_inc(x_90);
x_153 = l_Lean_Syntax_node2(x_90, x_138, x_123, x_152);
x_154 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__25;
lean_inc_ref(x_99);
lean_inc_ref(x_106);
x_155 = l_Lean_Name_mkStr4(x_106, x_99, x_86, x_154);
lean_inc_ref(x_96);
lean_inc(x_90);
x_156 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_156, 0, x_90);
lean_ctor_set(x_156, 1, x_96);
x_157 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__26;
x_158 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__27;
lean_inc_ref(x_106);
x_159 = l_Lean_Name_mkStr4(x_106, x_99, x_157, x_158);
lean_inc_ref_n(x_123, 2);
lean_inc(x_159);
lean_inc(x_90);
x_160 = l_Lean_Syntax_node2(x_90, x_159, x_123, x_123);
lean_inc(x_155);
lean_inc(x_90);
x_161 = l_Lean_Syntax_node4(x_90, x_155, x_156, x_104, x_160, x_123);
lean_inc(x_126);
lean_inc(x_90);
x_162 = l_Lean_Syntax_node4(x_90, x_126, x_127, x_136, x_153, x_161);
lean_inc(x_108);
x_163 = l_Lean_Syntax_node2(x_90, x_108, x_124, x_162);
lean_inc(x_163);
x_164 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand___boxed), 4, 1);
lean_closure_set(x_164, 0, x_163);
lean_inc(x_94);
lean_inc_ref(x_89);
x_165 = l_Lean_Elab_Command_withMacroExpansion___redArg(x_1, x_163, x_164, x_89, x_94);
if (lean_obj_tag(x_165) == 0)
{
lean_object* x_166; 
lean_dec_ref(x_165);
x_166 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___lam__0(x_89, x_94);
if (lean_obj_tag(x_166) == 0)
{
lean_object* x_167; lean_object* x_168; 
x_167 = lean_ctor_get(x_166, 0);
lean_inc(x_167);
lean_dec_ref(x_166);
x_168 = l_Lean_Elab_Command_getCurrMacroScope___redArg(x_89);
if (lean_obj_tag(x_168) == 0)
{
lean_object* x_169; lean_object* x_170; 
lean_dec_ref(x_168);
x_169 = l_Lean_Name_str___override(x_93, x_84);
x_170 = l_Lean_mkIdentFrom(x_83, x_169, x_98);
lean_dec(x_83);
if (lean_obj_tag(x_103) == 0)
{
lean_object* x_171; 
x_171 = l_Lean_getMainModule___at___00Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6_spec__6___redArg(x_94);
lean_dec_ref(x_171);
x_5 = x_129;
x_6 = x_170;
x_7 = x_94;
x_8 = x_155;
x_9 = x_114;
x_10 = x_131;
x_11 = x_133;
x_12 = x_119;
x_13 = x_89;
x_14 = x_88;
x_15 = x_96;
x_16 = x_87;
x_17 = x_132;
x_18 = x_101;
x_19 = x_113;
x_20 = x_125;
x_21 = x_102;
x_22 = x_159;
x_23 = x_138;
x_24 = x_126;
x_25 = x_108;
x_26 = x_167;
x_27 = x_106;
x_28 = x_92;
x_29 = lean_box(0);
goto block_73;
}
else
{
lean_dec_ref(x_103);
x_5 = x_129;
x_6 = x_170;
x_7 = x_94;
x_8 = x_155;
x_9 = x_114;
x_10 = x_131;
x_11 = x_133;
x_12 = x_119;
x_13 = x_89;
x_14 = x_88;
x_15 = x_96;
x_16 = x_87;
x_17 = x_132;
x_18 = x_101;
x_19 = x_113;
x_20 = x_125;
x_21 = x_102;
x_22 = x_159;
x_23 = x_138;
x_24 = x_126;
x_25 = x_108;
x_26 = x_167;
x_27 = x_106;
x_28 = x_92;
x_29 = lean_box(0);
goto block_73;
}
}
else
{
uint8_t x_172; 
lean_dec(x_167);
lean_dec(x_159);
lean_dec(x_155);
lean_dec(x_138);
lean_dec_ref(x_132);
lean_dec(x_129);
lean_dec(x_126);
lean_dec(x_113);
lean_dec(x_108);
lean_dec_ref(x_106);
lean_dec(x_103);
lean_dec(x_102);
lean_dec(x_101);
lean_dec_ref(x_96);
lean_dec(x_94);
lean_dec(x_93);
lean_dec(x_92);
lean_dec_ref(x_89);
lean_dec_ref(x_88);
lean_dec(x_87);
lean_dec_ref(x_84);
lean_dec(x_83);
x_172 = !lean_is_exclusive(x_168);
if (x_172 == 0)
{
return x_168;
}
else
{
lean_object* x_173; lean_object* x_174; 
x_173 = lean_ctor_get(x_168, 0);
lean_inc(x_173);
lean_dec(x_168);
x_174 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_174, 0, x_173);
return x_174;
}
}
}
else
{
uint8_t x_175; 
lean_dec(x_159);
lean_dec(x_155);
lean_dec(x_138);
lean_dec_ref(x_132);
lean_dec(x_129);
lean_dec(x_126);
lean_dec(x_113);
lean_dec(x_108);
lean_dec_ref(x_106);
lean_dec(x_103);
lean_dec(x_102);
lean_dec(x_101);
lean_dec_ref(x_96);
lean_dec(x_94);
lean_dec(x_93);
lean_dec(x_92);
lean_dec_ref(x_89);
lean_dec_ref(x_88);
lean_dec(x_87);
lean_dec_ref(x_84);
lean_dec(x_83);
x_175 = !lean_is_exclusive(x_166);
if (x_175 == 0)
{
return x_166;
}
else
{
lean_object* x_176; lean_object* x_177; 
x_176 = lean_ctor_get(x_166, 0);
lean_inc(x_176);
lean_dec(x_166);
x_177 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_177, 0, x_176);
return x_177;
}
}
}
else
{
lean_dec(x_159);
lean_dec(x_155);
lean_dec(x_138);
lean_dec_ref(x_132);
lean_dec(x_129);
lean_dec(x_126);
lean_dec(x_113);
lean_dec(x_108);
lean_dec_ref(x_106);
lean_dec(x_103);
lean_dec(x_102);
lean_dec(x_101);
lean_dec_ref(x_96);
lean_dec(x_94);
lean_dec(x_93);
lean_dec(x_92);
lean_dec_ref(x_89);
lean_dec_ref(x_88);
lean_dec(x_87);
lean_dec_ref(x_84);
lean_dec(x_83);
return x_165;
}
}
block_211:
{
lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; 
x_203 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__18;
x_204 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__0;
lean_inc_ref(x_189);
lean_inc_ref(x_199);
x_205 = l_Lean_Name_mkStr4(x_199, x_189, x_203, x_204);
x_206 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__1;
lean_inc_ref(x_189);
lean_inc_ref(x_199);
x_207 = l_Lean_Name_mkStr4(x_199, x_189, x_203, x_206);
if (lean_obj_tag(x_196) == 1)
{
lean_object* x_208; lean_object* x_209; 
x_208 = lean_ctor_get(x_196, 0);
lean_inc(x_208);
lean_dec_ref(x_196);
x_209 = l_Array_mkArray1___redArg(x_208);
x_83 = x_179;
x_84 = x_180;
x_85 = x_201;
x_86 = x_203;
x_87 = x_207;
x_88 = x_183;
x_89 = x_184;
x_90 = x_186;
x_91 = x_195;
x_92 = x_200;
x_93 = x_181;
x_94 = x_182;
x_95 = lean_box(0);
x_96 = x_185;
x_97 = x_188;
x_98 = x_187;
x_99 = x_189;
x_100 = x_190;
x_101 = x_191;
x_102 = x_192;
x_103 = x_193;
x_104 = x_194;
x_105 = x_198;
x_106 = x_199;
x_107 = x_197;
x_108 = x_205;
x_109 = x_209;
goto block_178;
}
else
{
lean_object* x_210; 
lean_dec(x_196);
x_210 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__28;
x_83 = x_179;
x_84 = x_180;
x_85 = x_201;
x_86 = x_203;
x_87 = x_207;
x_88 = x_183;
x_89 = x_184;
x_90 = x_186;
x_91 = x_195;
x_92 = x_200;
x_93 = x_181;
x_94 = x_182;
x_95 = lean_box(0);
x_96 = x_185;
x_97 = x_188;
x_98 = x_187;
x_99 = x_189;
x_100 = x_190;
x_101 = x_191;
x_102 = x_192;
x_103 = x_193;
x_104 = x_194;
x_105 = x_198;
x_106 = x_199;
x_107 = x_197;
x_108 = x_205;
x_109 = x_210;
goto block_178;
}
}
block_298:
{
lean_object* x_235; 
x_235 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___lam__0(x_219, x_217);
if (lean_obj_tag(x_235) == 0)
{
lean_object* x_236; lean_object* x_237; 
x_236 = lean_ctor_get(x_235, 0);
lean_inc(x_236);
lean_dec_ref(x_235);
x_237 = l_Lean_Elab_Command_getCurrMacroScope___redArg(x_219);
if (lean_obj_tag(x_237) == 0)
{
lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; 
x_238 = lean_ctor_get(x_237, 0);
lean_inc(x_238);
lean_dec_ref(x_237);
x_239 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__29;
lean_inc_ref(x_231);
lean_inc_ref(x_222);
lean_inc_ref(x_230);
x_240 = l_Lean_Name_mkStr4(x_230, x_222, x_231, x_239);
x_241 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__30;
lean_inc(x_214);
x_242 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_242, 0, x_214);
lean_ctor_set(x_242, 1, x_241);
lean_inc_ref(x_220);
lean_inc(x_224);
lean_inc(x_214);
x_243 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_243, 0, x_214);
lean_ctor_set(x_243, 1, x_224);
lean_ctor_set(x_243, 2, x_220);
x_244 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__33;
lean_inc_ref(x_231);
lean_inc_ref(x_222);
lean_inc_ref(x_230);
x_245 = l_Lean_Name_mkStr4(x_230, x_222, x_231, x_244);
x_246 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__31;
lean_inc_ref(x_231);
lean_inc_ref(x_222);
lean_inc_ref(x_230);
x_247 = l_Lean_Name_mkStr4(x_230, x_222, x_231, x_246);
x_248 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__32;
lean_inc_ref(x_231);
lean_inc_ref(x_222);
lean_inc_ref(x_230);
x_249 = l_Lean_Name_mkStr4(x_230, x_222, x_231, x_248);
x_250 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__33;
x_251 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__34;
x_252 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__35;
lean_inc(x_213);
lean_inc(x_233);
x_253 = l_Lean_addMacroScope(x_233, x_252, x_213);
lean_inc(x_232);
lean_inc(x_214);
x_254 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_254, 0, x_214);
lean_ctor_set(x_254, 1, x_251);
lean_ctor_set(x_254, 2, x_253);
lean_ctor_set(x_254, 3, x_232);
lean_inc_ref(x_243);
lean_inc(x_249);
lean_inc(x_214);
x_255 = l_Lean_Syntax_node2(x_214, x_249, x_254, x_243);
x_256 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__36;
lean_inc_ref(x_231);
lean_inc_ref(x_222);
lean_inc_ref(x_230);
x_257 = l_Lean_Name_mkStr4(x_230, x_222, x_231, x_256);
x_258 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__37;
lean_inc(x_214);
x_259 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_259, 0, x_214);
lean_ctor_set(x_259, 1, x_258);
lean_inc_ref(x_243);
lean_inc_ref(x_259);
lean_inc(x_257);
lean_inc(x_214);
x_260 = l_Lean_Syntax_node3(x_214, x_257, x_259, x_243, x_215);
lean_inc_ref_n(x_243, 2);
lean_inc(x_224);
lean_inc(x_214);
x_261 = l_Lean_Syntax_node3(x_214, x_224, x_243, x_243, x_260);
lean_inc(x_247);
lean_inc(x_214);
x_262 = l_Lean_Syntax_node2(x_214, x_247, x_255, x_261);
x_263 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__38;
lean_inc(x_214);
x_264 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_264, 0, x_214);
lean_ctor_set(x_264, 1, x_263);
x_265 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__40;
x_266 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__41;
lean_inc(x_213);
lean_inc(x_233);
x_267 = l_Lean_addMacroScope(x_233, x_266, x_213);
lean_inc(x_232);
lean_inc(x_214);
x_268 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_268, 0, x_214);
lean_ctor_set(x_268, 1, x_265);
lean_ctor_set(x_268, 2, x_267);
lean_ctor_set(x_268, 3, x_232);
lean_inc_ref(x_243);
lean_inc(x_249);
lean_inc(x_214);
x_269 = l_Lean_Syntax_node2(x_214, x_249, x_268, x_243);
lean_inc_ref(x_243);
lean_inc_ref(x_259);
lean_inc(x_257);
lean_inc(x_214);
x_270 = l_Lean_Syntax_node3(x_214, x_257, x_259, x_243, x_226);
lean_inc_ref_n(x_243, 2);
lean_inc(x_224);
lean_inc(x_214);
x_271 = l_Lean_Syntax_node3(x_214, x_224, x_243, x_243, x_270);
lean_inc(x_247);
lean_inc(x_214);
x_272 = l_Lean_Syntax_node2(x_214, x_247, x_269, x_271);
x_273 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__43;
x_274 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__44;
x_275 = l_Lean_addMacroScope(x_233, x_274, x_213);
lean_inc(x_232);
lean_inc(x_214);
x_276 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_276, 0, x_214);
lean_ctor_set(x_276, 1, x_273);
lean_ctor_set(x_276, 2, x_275);
lean_ctor_set(x_276, 3, x_232);
lean_inc_ref(x_243);
lean_inc(x_214);
x_277 = l_Lean_Syntax_node2(x_214, x_249, x_276, x_243);
lean_inc_ref(x_243);
lean_inc(x_214);
x_278 = l_Lean_Syntax_node3(x_214, x_257, x_259, x_243, x_218);
lean_inc_ref_n(x_243, 2);
lean_inc(x_224);
lean_inc(x_214);
x_279 = l_Lean_Syntax_node3(x_214, x_224, x_243, x_243, x_278);
lean_inc(x_214);
x_280 = l_Lean_Syntax_node2(x_214, x_247, x_277, x_279);
lean_inc_ref(x_264);
lean_inc(x_224);
lean_inc(x_214);
x_281 = l_Lean_Syntax_node5(x_214, x_224, x_262, x_264, x_272, x_264, x_280);
lean_inc(x_214);
x_282 = l_Lean_Syntax_node1(x_214, x_245, x_281);
x_283 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__45;
lean_inc_ref(x_231);
lean_inc_ref(x_222);
lean_inc_ref(x_230);
x_284 = l_Lean_Name_mkStr4(x_230, x_222, x_231, x_283);
lean_inc_ref(x_243);
lean_inc(x_214);
x_285 = l_Lean_Syntax_node1(x_214, x_284, x_243);
x_286 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__46;
lean_inc(x_214);
x_287 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_287, 0, x_214);
lean_ctor_set(x_287, 1, x_286);
lean_inc_ref(x_243);
x_288 = l_Lean_Syntax_node6(x_214, x_240, x_242, x_243, x_282, x_285, x_243, x_287);
if (lean_obj_tag(x_225) == 0)
{
lean_object* x_289; lean_object* x_290; 
x_289 = l_Lean_getMainModule___at___00Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6_spec__6___redArg(x_217);
x_290 = lean_ctor_get(x_289, 0);
lean_inc(x_290);
lean_dec_ref(x_289);
x_179 = x_212;
x_180 = x_250;
x_181 = x_216;
x_182 = x_217;
x_183 = x_220;
x_184 = x_219;
x_185 = x_258;
x_186 = x_236;
x_187 = x_221;
x_188 = x_238;
x_189 = x_222;
x_190 = x_263;
x_191 = x_223;
x_192 = x_224;
x_193 = x_225;
x_194 = x_288;
x_195 = x_227;
x_196 = x_228;
x_197 = x_232;
x_198 = x_231;
x_199 = x_230;
x_200 = x_229;
x_201 = x_290;
x_202 = lean_box(0);
goto block_211;
}
else
{
lean_object* x_291; 
x_291 = lean_ctor_get(x_225, 0);
lean_inc(x_291);
x_179 = x_212;
x_180 = x_250;
x_181 = x_216;
x_182 = x_217;
x_183 = x_220;
x_184 = x_219;
x_185 = x_258;
x_186 = x_236;
x_187 = x_221;
x_188 = x_238;
x_189 = x_222;
x_190 = x_263;
x_191 = x_223;
x_192 = x_224;
x_193 = x_225;
x_194 = x_288;
x_195 = x_227;
x_196 = x_228;
x_197 = x_232;
x_198 = x_231;
x_199 = x_230;
x_200 = x_229;
x_201 = x_291;
x_202 = lean_box(0);
goto block_211;
}
}
else
{
uint8_t x_292; 
lean_dec(x_236);
lean_dec(x_233);
lean_dec(x_232);
lean_dec_ref(x_231);
lean_dec_ref(x_230);
lean_dec(x_229);
lean_dec(x_228);
lean_dec_ref(x_227);
lean_dec(x_226);
lean_dec(x_225);
lean_dec(x_224);
lean_dec(x_223);
lean_dec_ref(x_222);
lean_dec_ref(x_220);
lean_dec_ref(x_219);
lean_dec(x_218);
lean_dec(x_217);
lean_dec(x_216);
lean_dec(x_215);
lean_dec(x_214);
lean_dec(x_213);
lean_dec(x_212);
lean_dec(x_1);
x_292 = !lean_is_exclusive(x_237);
if (x_292 == 0)
{
return x_237;
}
else
{
lean_object* x_293; lean_object* x_294; 
x_293 = lean_ctor_get(x_237, 0);
lean_inc(x_293);
lean_dec(x_237);
x_294 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_294, 0, x_293);
return x_294;
}
}
}
else
{
uint8_t x_295; 
lean_dec(x_233);
lean_dec(x_232);
lean_dec_ref(x_231);
lean_dec_ref(x_230);
lean_dec(x_229);
lean_dec(x_228);
lean_dec_ref(x_227);
lean_dec(x_226);
lean_dec(x_225);
lean_dec(x_224);
lean_dec(x_223);
lean_dec_ref(x_222);
lean_dec_ref(x_220);
lean_dec_ref(x_219);
lean_dec(x_218);
lean_dec(x_217);
lean_dec(x_216);
lean_dec(x_215);
lean_dec(x_214);
lean_dec(x_213);
lean_dec(x_212);
lean_dec(x_1);
x_295 = !lean_is_exclusive(x_235);
if (x_295 == 0)
{
return x_235;
}
else
{
lean_object* x_296; lean_object* x_297; 
x_296 = lean_ctor_get(x_235, 0);
lean_inc(x_296);
lean_dec(x_235);
x_297 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_297, 0, x_296);
return x_297;
}
}
}
block_349:
{
lean_object* x_314; 
x_314 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___lam__0(x_302, x_300);
if (lean_obj_tag(x_314) == 0)
{
lean_object* x_315; lean_object* x_316; 
x_315 = lean_ctor_get(x_314, 0);
lean_inc(x_315);
lean_dec_ref(x_314);
x_316 = l_Lean_Elab_Command_getCurrMacroScope___redArg(x_302);
if (lean_obj_tag(x_316) == 0)
{
lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; 
x_317 = lean_ctor_get(x_316, 0);
lean_inc(x_317);
lean_dec_ref(x_316);
x_318 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__16;
x_319 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__17;
x_320 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__11;
x_321 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__48;
x_322 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__50;
x_323 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__3;
x_324 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__4;
lean_inc(x_307);
x_325 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_325, 0, x_307);
lean_ctor_set(x_325, 1, x_323);
lean_ctor_set(x_325, 2, x_324);
lean_inc_ref(x_325);
lean_inc(x_307);
x_326 = l_Lean_Syntax_node1(x_307, x_322, x_325);
x_327 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__53;
x_328 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__55;
x_329 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__57;
x_330 = l_Lean_addMacroScope(x_312, x_329, x_303);
lean_inc(x_311);
lean_inc(x_307);
x_331 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_331, 0, x_307);
lean_ctor_set(x_331, 1, x_328);
lean_ctor_set(x_331, 2, x_330);
lean_ctor_set(x_331, 3, x_311);
lean_inc(x_307);
x_332 = l_Lean_Syntax_node2(x_307, x_327, x_331, x_325);
x_333 = l_Lean_Syntax_node2(x_307, x_321, x_326, x_332);
x_334 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__58;
x_335 = lean_array_push(x_334, x_333);
x_336 = l_Lake_DSL_expandAttrs(x_308);
x_337 = l_Array_append___redArg(x_335, x_336);
lean_dec_ref(x_336);
x_338 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__59;
x_339 = l_Lean_mkIdentFrom(x_306, x_338, x_304);
lean_dec(x_306);
if (lean_obj_tag(x_305) == 0)
{
lean_object* x_340; lean_object* x_341; 
x_340 = l_Lean_getMainModule___at___00Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6_spec__6___redArg(x_300);
x_341 = lean_ctor_get(x_340, 0);
lean_inc(x_341);
lean_dec_ref(x_340);
x_212 = x_339;
x_213 = x_317;
x_214 = x_315;
x_215 = x_299;
x_216 = x_338;
x_217 = x_300;
x_218 = x_301;
x_219 = x_302;
x_220 = x_324;
x_221 = x_304;
x_222 = x_319;
x_223 = x_322;
x_224 = x_323;
x_225 = x_305;
x_226 = x_309;
x_227 = x_337;
x_228 = x_310;
x_229 = x_321;
x_230 = x_318;
x_231 = x_320;
x_232 = x_311;
x_233 = x_341;
x_234 = lean_box(0);
goto block_298;
}
else
{
lean_object* x_342; 
x_342 = lean_ctor_get(x_305, 0);
lean_inc(x_342);
x_212 = x_339;
x_213 = x_317;
x_214 = x_315;
x_215 = x_299;
x_216 = x_338;
x_217 = x_300;
x_218 = x_301;
x_219 = x_302;
x_220 = x_324;
x_221 = x_304;
x_222 = x_319;
x_223 = x_322;
x_224 = x_323;
x_225 = x_305;
x_226 = x_309;
x_227 = x_337;
x_228 = x_310;
x_229 = x_321;
x_230 = x_318;
x_231 = x_320;
x_232 = x_311;
x_233 = x_342;
x_234 = lean_box(0);
goto block_298;
}
}
else
{
uint8_t x_343; 
lean_dec(x_315);
lean_dec(x_312);
lean_dec(x_311);
lean_dec(x_310);
lean_dec(x_309);
lean_dec(x_308);
lean_dec(x_307);
lean_dec(x_306);
lean_dec(x_305);
lean_dec(x_303);
lean_dec_ref(x_302);
lean_dec(x_301);
lean_dec(x_300);
lean_dec(x_299);
lean_dec(x_1);
x_343 = !lean_is_exclusive(x_316);
if (x_343 == 0)
{
return x_316;
}
else
{
lean_object* x_344; lean_object* x_345; 
x_344 = lean_ctor_get(x_316, 0);
lean_inc(x_344);
lean_dec(x_316);
x_345 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_345, 0, x_344);
return x_345;
}
}
}
else
{
uint8_t x_346; 
lean_dec(x_312);
lean_dec(x_311);
lean_dec(x_310);
lean_dec(x_309);
lean_dec(x_308);
lean_dec(x_307);
lean_dec(x_306);
lean_dec(x_305);
lean_dec(x_303);
lean_dec_ref(x_302);
lean_dec(x_301);
lean_dec(x_300);
lean_dec(x_299);
lean_dec(x_1);
x_346 = !lean_is_exclusive(x_314);
if (x_346 == 0)
{
return x_314;
}
else
{
lean_object* x_347; lean_object* x_348; 
x_347 = lean_ctor_get(x_314, 0);
lean_inc(x_347);
lean_dec(x_314);
x_348 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_348, 0, x_347);
return x_348;
}
}
}
block_383:
{
lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; 
x_363 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__61;
x_364 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__9;
lean_inc(x_362);
x_365 = lean_array_push(x_364, x_362);
lean_inc(x_358);
x_366 = lean_array_push(x_365, x_358);
x_367 = l_Lean_Syntax_mkCApp(x_363, x_366);
lean_inc(x_355);
lean_inc_ref(x_360);
lean_inc(x_356);
x_368 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6(x_363, x_356, x_367, x_351, x_360, x_355);
if (lean_obj_tag(x_368) == 0)
{
lean_object* x_369; 
lean_dec_ref(x_368);
x_369 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___lam__0(x_360, x_355);
if (lean_obj_tag(x_369) == 0)
{
lean_object* x_370; lean_object* x_371; 
x_370 = lean_ctor_get(x_369, 0);
lean_inc(x_370);
lean_dec_ref(x_369);
x_371 = l_Lean_Elab_Command_getCurrMacroScope___redArg(x_360);
if (lean_obj_tag(x_371) == 0)
{
if (lean_obj_tag(x_352) == 0)
{
lean_object* x_372; lean_object* x_373; lean_object* x_374; 
x_372 = lean_ctor_get(x_371, 0);
lean_inc(x_372);
lean_dec_ref(x_371);
x_373 = l_Lean_getMainModule___at___00Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6_spec__6___redArg(x_355);
x_374 = lean_ctor_get(x_373, 0);
lean_inc(x_374);
lean_dec_ref(x_373);
x_299 = x_362;
x_300 = x_355;
x_301 = x_356;
x_302 = x_360;
x_303 = x_372;
x_304 = x_350;
x_305 = x_352;
x_306 = x_353;
x_307 = x_370;
x_308 = x_357;
x_309 = x_358;
x_310 = x_359;
x_311 = x_361;
x_312 = x_374;
x_313 = lean_box(0);
goto block_349;
}
else
{
lean_object* x_375; lean_object* x_376; 
x_375 = lean_ctor_get(x_371, 0);
lean_inc(x_375);
lean_dec_ref(x_371);
x_376 = lean_ctor_get(x_352, 0);
lean_inc(x_376);
x_299 = x_362;
x_300 = x_355;
x_301 = x_356;
x_302 = x_360;
x_303 = x_375;
x_304 = x_350;
x_305 = x_352;
x_306 = x_353;
x_307 = x_370;
x_308 = x_357;
x_309 = x_358;
x_310 = x_359;
x_311 = x_361;
x_312 = x_376;
x_313 = lean_box(0);
goto block_349;
}
}
else
{
uint8_t x_377; 
lean_dec(x_370);
lean_dec(x_362);
lean_dec(x_361);
lean_dec_ref(x_360);
lean_dec(x_359);
lean_dec(x_358);
lean_dec(x_357);
lean_dec(x_356);
lean_dec(x_355);
lean_dec(x_353);
lean_dec(x_352);
lean_dec(x_1);
x_377 = !lean_is_exclusive(x_371);
if (x_377 == 0)
{
return x_371;
}
else
{
lean_object* x_378; lean_object* x_379; 
x_378 = lean_ctor_get(x_371, 0);
lean_inc(x_378);
lean_dec(x_371);
x_379 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_379, 0, x_378);
return x_379;
}
}
}
else
{
uint8_t x_380; 
lean_dec(x_362);
lean_dec(x_361);
lean_dec_ref(x_360);
lean_dec(x_359);
lean_dec(x_358);
lean_dec(x_357);
lean_dec(x_356);
lean_dec(x_355);
lean_dec(x_353);
lean_dec(x_352);
lean_dec(x_1);
x_380 = !lean_is_exclusive(x_369);
if (x_380 == 0)
{
return x_369;
}
else
{
lean_object* x_381; lean_object* x_382; 
x_381 = lean_ctor_get(x_369, 0);
lean_inc(x_381);
lean_dec(x_369);
x_382 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_382, 0, x_381);
return x_382;
}
}
}
else
{
lean_dec(x_362);
lean_dec(x_361);
lean_dec_ref(x_360);
lean_dec(x_359);
lean_dec(x_358);
lean_dec(x_357);
lean_dec(x_356);
lean_dec(x_355);
lean_dec(x_353);
lean_dec(x_352);
lean_dec(x_1);
return x_368;
}
}
block_415:
{
lean_object* x_396; 
lean_inc(x_388);
lean_inc_ref(x_393);
x_396 = l_Lake_DSL_mkConfigDeclIdent(x_390, x_393, x_388);
if (lean_obj_tag(x_396) == 0)
{
lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; 
x_397 = lean_ctor_get(x_396, 0);
lean_inc(x_397);
lean_dec_ref(x_396);
x_398 = lean_st_ref_get(x_388);
x_399 = lean_ctor_get(x_398, 0);
lean_inc_ref(x_399);
lean_dec(x_398);
x_400 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__62;
x_401 = lean_ctor_get(x_400, 2);
lean_inc(x_401);
x_402 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__64;
x_403 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__65;
x_404 = l_Lean_addMacroScope(x_394, x_403, x_392);
x_405 = lean_box(0);
x_406 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_406, 0, x_386);
lean_ctor_set(x_406, 1, x_402);
lean_ctor_set(x_406, 2, x_404);
lean_ctor_set(x_406, 3, x_405);
x_407 = l_Lean_TSyntax_getId(x_397);
lean_inc(x_397);
x_408 = l_Lake_Name_quoteFrom(x_397, x_407, x_384);
x_409 = lean_box(0);
x_410 = l___private_Lean_Environment_0__Lean_EnvExtension_getStateUnsafe___redArg(x_409, x_400, x_399, x_401, x_409);
lean_dec(x_401);
if (lean_obj_tag(x_410) == 0)
{
lean_inc(x_408);
x_350 = x_384;
x_351 = x_385;
x_352 = x_387;
x_353 = x_397;
x_354 = lean_box(0);
x_355 = x_388;
x_356 = x_406;
x_357 = x_389;
x_358 = x_408;
x_359 = x_391;
x_360 = x_393;
x_361 = x_405;
x_362 = x_408;
goto block_383;
}
else
{
lean_object* x_411; 
lean_inc(x_397);
x_411 = l_Lake_Name_quoteFrom(x_397, x_410, x_384);
x_350 = x_384;
x_351 = x_385;
x_352 = x_387;
x_353 = x_397;
x_354 = lean_box(0);
x_355 = x_388;
x_356 = x_406;
x_357 = x_389;
x_358 = x_408;
x_359 = x_391;
x_360 = x_393;
x_361 = x_405;
x_362 = x_411;
goto block_383;
}
}
else
{
uint8_t x_412; 
lean_dec(x_394);
lean_dec_ref(x_393);
lean_dec(x_392);
lean_dec(x_391);
lean_dec(x_389);
lean_dec(x_388);
lean_dec(x_387);
lean_dec(x_386);
lean_dec(x_385);
lean_dec(x_1);
x_412 = !lean_is_exclusive(x_396);
if (x_412 == 0)
{
return x_396;
}
else
{
lean_object* x_413; lean_object* x_414; 
x_413 = lean_ctor_get(x_396, 0);
lean_inc(x_413);
lean_dec(x_396);
x_414 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_414, 0, x_413);
return x_414;
}
}
}
block_475:
{
lean_object* x_424; 
x_424 = l_Lean_Elab_Command_getRef___redArg(x_422);
if (lean_obj_tag(x_424) == 0)
{
lean_object* x_425; uint8_t x_426; 
x_425 = lean_ctor_get(x_424, 0);
lean_inc(x_425);
lean_dec_ref(x_424);
x_426 = !lean_is_exclusive(x_422);
if (x_426 == 0)
{
lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; 
x_427 = lean_ctor_get(x_422, 5);
x_428 = lean_ctor_get(x_422, 7);
lean_dec(x_428);
x_429 = l_Lean_replaceRef(x_416, x_425);
lean_dec(x_425);
lean_dec(x_416);
lean_inc(x_427);
lean_ctor_set(x_422, 7, x_429);
x_430 = l_Lean_Elab_Command_getRef___redArg(x_422);
if (lean_obj_tag(x_430) == 0)
{
lean_object* x_431; lean_object* x_432; 
x_431 = lean_ctor_get(x_430, 0);
lean_inc(x_431);
lean_dec_ref(x_430);
x_432 = l_Lean_Elab_Command_getCurrMacroScope___redArg(x_422);
if (lean_obj_tag(x_432) == 0)
{
lean_object* x_433; uint8_t x_434; lean_object* x_435; 
x_433 = lean_ctor_get(x_432, 0);
lean_inc(x_433);
lean_dec_ref(x_432);
x_434 = 0;
x_435 = l_Lean_SourceInfo_fromRef(x_431, x_434);
lean_dec(x_431);
if (lean_obj_tag(x_427) == 0)
{
lean_object* x_436; lean_object* x_437; 
x_436 = l_Lean_getMainModule___at___00Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6_spec__6___redArg(x_419);
x_437 = lean_ctor_get(x_436, 0);
lean_inc(x_437);
lean_dec_ref(x_436);
x_384 = x_434;
x_385 = x_418;
x_386 = x_435;
x_387 = x_427;
x_388 = x_419;
x_389 = x_421;
x_390 = x_420;
x_391 = x_423;
x_392 = x_433;
x_393 = x_422;
x_394 = x_437;
x_395 = lean_box(0);
goto block_415;
}
else
{
lean_object* x_438; 
x_438 = lean_ctor_get(x_427, 0);
lean_inc(x_438);
x_384 = x_434;
x_385 = x_418;
x_386 = x_435;
x_387 = x_427;
x_388 = x_419;
x_389 = x_421;
x_390 = x_420;
x_391 = x_423;
x_392 = x_433;
x_393 = x_422;
x_394 = x_438;
x_395 = lean_box(0);
goto block_415;
}
}
else
{
uint8_t x_439; 
lean_dec(x_431);
lean_dec_ref(x_422);
lean_dec(x_427);
lean_dec(x_423);
lean_dec(x_421);
lean_dec(x_420);
lean_dec(x_419);
lean_dec(x_418);
lean_dec(x_1);
x_439 = !lean_is_exclusive(x_432);
if (x_439 == 0)
{
return x_432;
}
else
{
lean_object* x_440; lean_object* x_441; 
x_440 = lean_ctor_get(x_432, 0);
lean_inc(x_440);
lean_dec(x_432);
x_441 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_441, 0, x_440);
return x_441;
}
}
}
else
{
uint8_t x_442; 
lean_dec_ref(x_422);
lean_dec(x_427);
lean_dec(x_423);
lean_dec(x_421);
lean_dec(x_420);
lean_dec(x_419);
lean_dec(x_418);
lean_dec(x_1);
x_442 = !lean_is_exclusive(x_430);
if (x_442 == 0)
{
return x_430;
}
else
{
lean_object* x_443; lean_object* x_444; 
x_443 = lean_ctor_get(x_430, 0);
lean_inc(x_443);
lean_dec(x_430);
x_444 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_444, 0, x_443);
return x_444;
}
}
}
else
{
lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; uint8_t x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; 
x_445 = lean_ctor_get(x_422, 0);
x_446 = lean_ctor_get(x_422, 1);
x_447 = lean_ctor_get(x_422, 2);
x_448 = lean_ctor_get(x_422, 3);
x_449 = lean_ctor_get(x_422, 4);
x_450 = lean_ctor_get(x_422, 5);
x_451 = lean_ctor_get(x_422, 6);
x_452 = lean_ctor_get(x_422, 8);
x_453 = lean_ctor_get(x_422, 9);
x_454 = lean_ctor_get_uint8(x_422, sizeof(void*)*10);
lean_inc(x_453);
lean_inc(x_452);
lean_inc(x_451);
lean_inc(x_450);
lean_inc(x_449);
lean_inc(x_448);
lean_inc(x_447);
lean_inc(x_446);
lean_inc(x_445);
lean_dec(x_422);
x_455 = l_Lean_replaceRef(x_416, x_425);
lean_dec(x_425);
lean_dec(x_416);
lean_inc(x_450);
x_456 = lean_alloc_ctor(0, 10, 1);
lean_ctor_set(x_456, 0, x_445);
lean_ctor_set(x_456, 1, x_446);
lean_ctor_set(x_456, 2, x_447);
lean_ctor_set(x_456, 3, x_448);
lean_ctor_set(x_456, 4, x_449);
lean_ctor_set(x_456, 5, x_450);
lean_ctor_set(x_456, 6, x_451);
lean_ctor_set(x_456, 7, x_455);
lean_ctor_set(x_456, 8, x_452);
lean_ctor_set(x_456, 9, x_453);
lean_ctor_set_uint8(x_456, sizeof(void*)*10, x_454);
x_457 = l_Lean_Elab_Command_getRef___redArg(x_456);
if (lean_obj_tag(x_457) == 0)
{
lean_object* x_458; lean_object* x_459; 
x_458 = lean_ctor_get(x_457, 0);
lean_inc(x_458);
lean_dec_ref(x_457);
x_459 = l_Lean_Elab_Command_getCurrMacroScope___redArg(x_456);
if (lean_obj_tag(x_459) == 0)
{
lean_object* x_460; uint8_t x_461; lean_object* x_462; 
x_460 = lean_ctor_get(x_459, 0);
lean_inc(x_460);
lean_dec_ref(x_459);
x_461 = 0;
x_462 = l_Lean_SourceInfo_fromRef(x_458, x_461);
lean_dec(x_458);
if (lean_obj_tag(x_450) == 0)
{
lean_object* x_463; lean_object* x_464; 
x_463 = l_Lean_getMainModule___at___00Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6_spec__6___redArg(x_419);
x_464 = lean_ctor_get(x_463, 0);
lean_inc(x_464);
lean_dec_ref(x_463);
x_384 = x_461;
x_385 = x_418;
x_386 = x_462;
x_387 = x_450;
x_388 = x_419;
x_389 = x_421;
x_390 = x_420;
x_391 = x_423;
x_392 = x_460;
x_393 = x_456;
x_394 = x_464;
x_395 = lean_box(0);
goto block_415;
}
else
{
lean_object* x_465; 
x_465 = lean_ctor_get(x_450, 0);
lean_inc(x_465);
x_384 = x_461;
x_385 = x_418;
x_386 = x_462;
x_387 = x_450;
x_388 = x_419;
x_389 = x_421;
x_390 = x_420;
x_391 = x_423;
x_392 = x_460;
x_393 = x_456;
x_394 = x_465;
x_395 = lean_box(0);
goto block_415;
}
}
else
{
lean_object* x_466; lean_object* x_467; lean_object* x_468; 
lean_dec(x_458);
lean_dec_ref(x_456);
lean_dec(x_450);
lean_dec(x_423);
lean_dec(x_421);
lean_dec(x_420);
lean_dec(x_419);
lean_dec(x_418);
lean_dec(x_1);
x_466 = lean_ctor_get(x_459, 0);
lean_inc(x_466);
if (lean_is_exclusive(x_459)) {
 lean_ctor_release(x_459, 0);
 x_467 = x_459;
} else {
 lean_dec_ref(x_459);
 x_467 = lean_box(0);
}
if (lean_is_scalar(x_467)) {
 x_468 = lean_alloc_ctor(1, 1, 0);
} else {
 x_468 = x_467;
}
lean_ctor_set(x_468, 0, x_466);
return x_468;
}
}
else
{
lean_object* x_469; lean_object* x_470; lean_object* x_471; 
lean_dec_ref(x_456);
lean_dec(x_450);
lean_dec(x_423);
lean_dec(x_421);
lean_dec(x_420);
lean_dec(x_419);
lean_dec(x_418);
lean_dec(x_1);
x_469 = lean_ctor_get(x_457, 0);
lean_inc(x_469);
if (lean_is_exclusive(x_457)) {
 lean_ctor_release(x_457, 0);
 x_470 = x_457;
} else {
 lean_dec_ref(x_457);
 x_470 = lean_box(0);
}
if (lean_is_scalar(x_470)) {
 x_471 = lean_alloc_ctor(1, 1, 0);
} else {
 x_471 = x_470;
}
lean_ctor_set(x_471, 0, x_469);
return x_471;
}
}
}
else
{
uint8_t x_472; 
lean_dec(x_423);
lean_dec_ref(x_422);
lean_dec(x_421);
lean_dec(x_420);
lean_dec(x_419);
lean_dec(x_418);
lean_dec(x_416);
lean_dec(x_1);
x_472 = !lean_is_exclusive(x_424);
if (x_472 == 0)
{
return x_424;
}
else
{
lean_object* x_473; lean_object* x_474; 
x_473 = lean_ctor_get(x_424, 0);
lean_inc(x_473);
lean_dec(x_424);
x_474 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_474, 0, x_473);
return x_474;
}
}
}
block_487:
{
lean_object* x_482; 
x_482 = l_Lean_Syntax_getOptional_x3f(x_79);
lean_dec(x_79);
if (lean_obj_tag(x_482) == 0)
{
lean_object* x_483; 
x_483 = lean_box(0);
x_417 = lean_box(0);
x_418 = x_477;
x_419 = x_478;
x_420 = x_479;
x_421 = x_481;
x_422 = x_480;
x_423 = x_483;
goto block_475;
}
else
{
uint8_t x_484; 
x_484 = !lean_is_exclusive(x_482);
if (x_484 == 0)
{
x_417 = lean_box(0);
x_418 = x_477;
x_419 = x_478;
x_420 = x_479;
x_421 = x_481;
x_422 = x_480;
x_423 = x_482;
goto block_475;
}
else
{
lean_object* x_485; lean_object* x_486; 
x_485 = lean_ctor_get(x_482, 0);
lean_inc(x_485);
lean_dec(x_482);
x_486 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_486, 0, x_485);
x_417 = lean_box(0);
x_418 = x_477;
x_419 = x_478;
x_420 = x_479;
x_421 = x_481;
x_422 = x_480;
x_423 = x_486;
goto block_475;
}
}
}
block_499:
{
lean_object* x_492; lean_object* x_493; lean_object* x_494; 
x_492 = lean_unsigned_to_nat(4u);
x_493 = l_Lean_Syntax_getArg(x_1, x_492);
x_494 = l_Lean_Syntax_getOptional_x3f(x_81);
lean_dec(x_81);
if (lean_obj_tag(x_494) == 0)
{
lean_object* x_495; 
x_495 = lean_box(0);
x_476 = lean_box(0);
x_477 = x_493;
x_478 = x_490;
x_479 = x_488;
x_480 = x_489;
x_481 = x_495;
goto block_487;
}
else
{
uint8_t x_496; 
x_496 = !lean_is_exclusive(x_494);
if (x_496 == 0)
{
x_476 = lean_box(0);
x_477 = x_493;
x_478 = x_490;
x_479 = x_488;
x_480 = x_489;
x_481 = x_494;
goto block_487;
}
else
{
lean_object* x_497; lean_object* x_498; 
x_497 = lean_ctor_get(x_494, 0);
lean_inc(x_497);
lean_dec(x_494);
x_498 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_498, 0, x_497);
x_476 = lean_box(0);
x_477 = x_493;
x_478 = x_490;
x_479 = x_488;
x_480 = x_489;
x_481 = x_498;
goto block_487;
}
}
}
}
block_73:
{
lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; 
lean_inc(x_21);
lean_inc(x_26);
x_30 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_30, 0, x_26);
lean_ctor_set(x_30, 1, x_21);
lean_ctor_set(x_30, 2, x_14);
lean_inc(x_26);
x_31 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_31, 0, x_26);
lean_ctor_set(x_31, 1, x_9);
lean_inc_ref(x_30);
lean_inc(x_26);
x_32 = l_Lean_Syntax_node1(x_26, x_18, x_30);
x_33 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__0;
x_34 = l_Lean_Name_mkStr2(x_27, x_33);
lean_inc(x_26);
x_35 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_35, 0, x_26);
lean_ctor_set(x_35, 1, x_33);
x_36 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__2;
x_37 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__3;
lean_inc(x_26);
x_38 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_38, 0, x_26);
lean_ctor_set(x_38, 1, x_37);
lean_inc(x_26);
x_39 = l_Lean_Syntax_node1(x_26, x_36, x_38);
lean_inc(x_21);
lean_inc(x_26);
x_40 = l_Lean_Syntax_node1(x_26, x_21, x_39);
x_41 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__4;
lean_inc(x_26);
x_42 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_42, 0, x_26);
lean_ctor_set(x_42, 1, x_41);
x_43 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__5;
lean_inc(x_26);
x_44 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_44, 0, x_26);
lean_ctor_set(x_44, 1, x_43);
lean_inc(x_26);
x_45 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_45, 0, x_26);
lean_ctor_set(x_45, 1, x_15);
x_46 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__6;
lean_inc(x_26);
x_47 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_47, 0, x_26);
lean_ctor_set(x_47, 1, x_46);
lean_inc(x_26);
x_48 = l_Lean_Syntax_node1(x_26, x_36, x_47);
x_49 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__7;
lean_inc(x_26);
x_50 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_50, 0, x_26);
lean_ctor_set(x_50, 1, x_49);
lean_inc_ref(x_45);
lean_inc(x_21);
lean_inc(x_26);
x_51 = l_Lean_Syntax_node5(x_26, x_21, x_42, x_44, x_45, x_48, x_50);
lean_inc_ref(x_30);
lean_inc(x_26);
x_52 = l_Lean_Syntax_node4(x_26, x_34, x_35, x_30, x_40, x_51);
lean_inc(x_26);
x_53 = l_Lean_Syntax_node2(x_26, x_28, x_32, x_52);
lean_inc(x_21);
lean_inc(x_26);
x_54 = l_Lean_Syntax_node1(x_26, x_21, x_53);
lean_inc(x_26);
x_55 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_55, 0, x_26);
lean_ctor_set(x_55, 1, x_12);
lean_inc(x_26);
x_56 = l_Lean_Syntax_node3(x_26, x_19, x_31, x_54, x_55);
lean_inc(x_26);
x_57 = l_Lean_Syntax_node1(x_26, x_21, x_56);
lean_inc_ref_n(x_30, 6);
lean_inc(x_26);
x_58 = l_Lean_Syntax_node7(x_26, x_16, x_30, x_57, x_30, x_30, x_30, x_30, x_30);
lean_inc(x_26);
x_59 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_59, 0, x_26);
lean_ctor_set(x_59, 1, x_20);
x_60 = lean_array_push(x_11, x_6);
x_61 = lean_array_push(x_60, x_17);
x_62 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_62, 0, x_10);
lean_ctor_set(x_62, 1, x_5);
lean_ctor_set(x_62, 2, x_61);
lean_inc_ref_n(x_30, 2);
lean_inc(x_26);
x_63 = l_Lean_Syntax_node2(x_26, x_23, x_30, x_30);
x_64 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__9;
x_65 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__10;
lean_inc(x_26);
x_66 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_66, 0, x_26);
lean_ctor_set(x_66, 1, x_65);
lean_inc(x_26);
x_67 = l_Lean_Syntax_node1(x_26, x_64, x_66);
lean_inc_ref_n(x_30, 2);
lean_inc(x_26);
x_68 = l_Lean_Syntax_node2(x_26, x_22, x_30, x_30);
lean_inc(x_26);
x_69 = l_Lean_Syntax_node4(x_26, x_8, x_45, x_67, x_68, x_30);
lean_inc(x_26);
x_70 = l_Lean_Syntax_node4(x_26, x_24, x_59, x_62, x_63, x_69);
x_71 = l_Lean_Syntax_node2(x_26, x_25, x_58, x_70);
x_72 = l_Lean_Elab_Command_elabCommand(x_71, x_13, x_7);
return x_72;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_6; 
x_6 = l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1(x_1, x_2, x_3, x_4);
lean_dec(x_4);
lean_dec_ref(x_3);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__0(x_1, x_2, x_3);
lean_dec(x_3);
lean_dec_ref(x_2);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_getMainModule___at___00Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6_spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = l_Lean_getMainModule___at___00Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6_spec__6(x_1, x_2);
lean_dec(x_2);
lean_dec_ref(x_1);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_6; 
x_6 = l_Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0(x_1, x_2, x_3, x_4);
lean_dec(x_4);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; 
x_7 = l_Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0(x_1, x_2, x_3, x_4, x_5);
lean_dec(x_5);
lean_dec(x_2);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1_spec__1___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
uint8_t x_3; lean_object* x_4; 
x_3 = l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1_spec__1(x_1, x_2);
lean_dec_ref(x_2);
lean_dec(x_1);
x_4 = lean_box(x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lean_getMainModule___at___00Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6_spec__6___redArg___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lean_getMainModule___at___00Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6_spec__6___redArg(x_1);
lean_dec(x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_6; 
x_6 = l_Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0___redArg(x_1, x_2, x_3, x_4);
lean_dec(x_4);
lean_dec(x_1);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l_Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0___redArg(x_1, x_2, x_3);
lean_dec(x_3);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1___redArg(x_1, x_2, x_3);
lean_dec(x_3);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__0___redArg(x_1, x_2);
lean_dec(x_2);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; 
x_8 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6(x_1, x_2, x_3, x_4, x_5, x_6);
return x_8;
}
}
LEAN_EXPORT lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___lam__0(x_1, x_2);
lean_dec(x_2);
lean_dec_ref(x_1);
return x_4;
}
}
LEAN_EXPORT lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand(x_1, x_2, x_3);
return x_5;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Elab_Command_commandElabAttribute;
return x_1;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("_private", 8, 8);
return x_1;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__1;
x_2 = lean_box(0);
x_3 = l_Lean_Name_str___override(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__21;
x_2 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__2;
x_3 = l_Lean_Name_str___override(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__22;
x_2 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__3;
x_3 = l_Lean_Name_str___override(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__5() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Package", 7, 7);
return x_1;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__5;
x_2 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__4;
x_3 = l_Lean_Name_str___override(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_unsigned_to_nat(0u);
x_2 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__6;
x_3 = l_Lean_Name_num___override(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__21;
x_2 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__7;
x_3 = l_Lean_Name_str___override(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__9() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__22;
x_2 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__8;
x_3 = l_Lean_Name_str___override(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__10() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("elabPackageCommand", 18, 18);
return x_1;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__11() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__10;
x_2 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__9;
x_3 = l_Lean_Name_str___override(x_2, x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1() {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; 
x_2 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__0;
x_3 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__12;
x_4 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__11;
x_5 = lean_alloc_closure((void*)(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___boxed), 4, 0);
x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(x_2, x_3, x_4, x_5);
return x_6;
}
}
LEAN_EXPORT lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1();
return x_2;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("postUpdateHook", 14, 14);
return x_1;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__0;
x_2 = l_String_toRawSubstring_x27(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__0;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("PostUpdateHookDecl", 18, 18);
return x_1;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__3;
x_2 = l_String_toRawSubstring_x27(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__3;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__3;
x_2 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__21;
x_3 = l_Lean_Name_mkStr2(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__6;
x_3 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_3, 0, x_2);
lean_ctor_set(x_3, 1, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__6;
x_2 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__9() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("pkg", 3, 3);
return x_1;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__10() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__9;
x_2 = l_String_toRawSubstring_x27(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__11() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__9;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__12() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("fn", 2, 2);
return x_1;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__13() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__12;
x_2 = l_String_toRawSubstring_x27(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__14() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__12;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__15() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("fun", 3, 3);
return x_1;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__16() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("basicFun", 8, 8);
return x_1;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__17() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("=>", 2, 2);
return x_1;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__18() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("«post_update»", 15, 13);
return x_1;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__19() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__18;
x_2 = l_String_toRawSubstring_x27(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__20() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("post_update", 11, 11);
return x_1;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__21() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__20;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__22() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("postUpdateDecl", 14, 14);
return x_1;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__23() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__22;
x_2 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__22;
x_3 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__21;
x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1);
return x_4;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__24() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("ill-formed post_update declaration", 34, 34);
return x_1;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__25() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("declValDo", 9, 9);
return x_1;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__26() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__25;
x_2 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__22;
x_3 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__21;
x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1);
return x_4;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__27() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__25;
x_2 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__18;
x_3 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__17;
x_4 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__16;
x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1);
return x_5;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__28() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__27;
x_2 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__26;
x_3 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__17;
x_4 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__16;
x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1);
return x_5;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__29() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("do", 2, 2);
return x_1;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__30() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__29;
x_2 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__11;
x_3 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__17;
x_4 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__16;
x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1);
return x_5;
}
}
LEAN_EXPORT lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; uint8_t x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; uint8_t x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; 
x_254 = l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__23;
lean_inc(x_1);
x_306 = l_Lean_Syntax_isOfKind(x_1, x_254);
if (x_306 == 0)
{
lean_object* x_371; lean_object* x_372; 
x_371 = l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__24;
x_372 = l_Lean_Macro_throwErrorAt___redArg(x_1, x_371, x_2, x_3);
lean_dec(x_1);
return x_372;
}
else
{
lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_472; uint8_t x_473; 
x_373 = lean_unsigned_to_nat(0u);
x_472 = l_Lean_Syntax_getArg(x_1, x_373);
x_473 = l_Lean_Syntax_isNone(x_472);
if (x_473 == 0)
{
lean_object* x_474; uint8_t x_475; 
x_474 = lean_unsigned_to_nat(1u);
lean_inc(x_472);
x_475 = l_Lean_Syntax_matchesNull(x_472, x_474);
if (x_475 == 0)
{
lean_object* x_476; lean_object* x_477; 
lean_dec(x_472);
x_476 = l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__24;
x_477 = l_Lean_Macro_throwErrorAt___redArg(x_1, x_476, x_2, x_3);
lean_dec(x_1);
return x_477;
}
else
{
lean_object* x_478; lean_object* x_479; 
x_478 = l_Lean_Syntax_getArg(x_472, x_373);
lean_dec(x_472);
x_479 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_479, 0, x_478);
x_459 = x_479;
x_460 = x_2;
x_461 = x_3;
goto block_471;
}
}
else
{
lean_object* x_480; 
lean_dec(x_472);
x_480 = lean_box(0);
x_459 = x_480;
x_460 = x_2;
x_461 = x_3;
goto block_471;
}
block_441:
{
lean_object* x_383; lean_object* x_384; lean_object* x_385; uint8_t x_386; 
x_383 = lean_unsigned_to_nat(4u);
x_384 = l_Lean_Syntax_getArg(x_1, x_383);
x_385 = l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__26;
lean_inc(x_384);
x_386 = l_Lean_Syntax_isOfKind(x_384, x_385);
if (x_386 == 0)
{
lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; uint8_t x_391; 
x_387 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__16;
x_388 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__17;
x_389 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__18;
x_390 = l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__27;
lean_inc(x_384);
x_391 = l_Lean_Syntax_isOfKind(x_384, x_390);
if (x_391 == 0)
{
lean_object* x_392; lean_object* x_393; 
lean_dec(x_384);
lean_dec(x_380);
lean_dec(x_379);
lean_dec(x_377);
lean_dec(x_376);
x_392 = l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__24;
x_393 = l_Lean_Macro_throwErrorAt___redArg(x_1, x_392, x_381, x_382);
lean_dec(x_1);
return x_393;
}
else
{
lean_object* x_394; lean_object* x_395; uint8_t x_396; 
x_394 = l_Lean_Syntax_getArg(x_384, x_375);
x_395 = l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__28;
lean_inc(x_394);
x_396 = l_Lean_Syntax_isOfKind(x_394, x_395);
if (x_396 == 0)
{
lean_object* x_397; lean_object* x_398; 
lean_dec(x_394);
lean_dec(x_384);
lean_dec(x_380);
lean_dec(x_379);
lean_dec(x_377);
lean_dec(x_376);
x_397 = l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__24;
x_398 = l_Lean_Macro_throwErrorAt___redArg(x_1, x_397, x_381, x_382);
lean_dec(x_1);
return x_398;
}
else
{
lean_object* x_399; uint8_t x_400; 
x_399 = l_Lean_Syntax_getArg(x_394, x_373);
x_400 = l_Lean_Syntax_matchesNull(x_399, x_373);
if (x_400 == 0)
{
lean_object* x_401; lean_object* x_402; 
lean_dec(x_394);
lean_dec(x_384);
lean_dec(x_380);
lean_dec(x_379);
lean_dec(x_377);
lean_dec(x_376);
x_401 = l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__24;
x_402 = l_Lean_Macro_throwErrorAt___redArg(x_1, x_401, x_381, x_382);
lean_dec(x_1);
return x_402;
}
else
{
lean_object* x_403; uint8_t x_404; 
x_403 = l_Lean_Syntax_getArg(x_394, x_378);
lean_dec(x_394);
x_404 = l_Lean_Syntax_matchesNull(x_403, x_373);
if (x_404 == 0)
{
lean_object* x_405; lean_object* x_406; 
lean_dec(x_384);
lean_dec(x_380);
lean_dec(x_379);
lean_dec(x_377);
lean_dec(x_376);
x_405 = l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__24;
x_406 = l_Lean_Macro_throwErrorAt___redArg(x_1, x_405, x_381, x_382);
lean_dec(x_1);
return x_406;
}
else
{
lean_object* x_407; lean_object* x_408; uint8_t x_409; 
x_407 = l_Lean_Syntax_getArg(x_384, x_378);
x_408 = l_Lean_Syntax_getArg(x_384, x_374);
lean_dec(x_384);
x_409 = l_Lean_Syntax_isNone(x_408);
if (x_409 == 0)
{
uint8_t x_410; 
lean_inc(x_408);
x_410 = l_Lean_Syntax_matchesNull(x_408, x_378);
if (x_410 == 0)
{
lean_object* x_411; lean_object* x_412; 
lean_dec(x_408);
lean_dec(x_407);
lean_dec(x_380);
lean_dec(x_379);
lean_dec(x_377);
lean_dec(x_376);
x_411 = l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__24;
x_412 = l_Lean_Macro_throwErrorAt___redArg(x_1, x_411, x_381, x_382);
lean_dec(x_1);
return x_412;
}
else
{
lean_object* x_413; lean_object* x_414; uint8_t x_415; 
x_413 = l_Lean_Syntax_getArg(x_408, x_373);
lean_dec(x_408);
x_414 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__36;
lean_inc(x_413);
x_415 = l_Lean_Syntax_isOfKind(x_413, x_414);
if (x_415 == 0)
{
lean_object* x_416; lean_object* x_417; 
lean_dec(x_413);
lean_dec(x_407);
lean_dec(x_380);
lean_dec(x_379);
lean_dec(x_377);
lean_dec(x_376);
x_416 = l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__24;
x_417 = l_Lean_Macro_throwErrorAt___redArg(x_1, x_416, x_381, x_382);
lean_dec(x_1);
return x_417;
}
else
{
lean_object* x_418; 
lean_dec(x_1);
x_418 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_418, 0, x_413);
x_149 = x_389;
x_150 = x_376;
x_151 = x_390;
x_152 = x_377;
x_153 = x_386;
x_154 = x_378;
x_155 = x_407;
x_156 = x_395;
x_157 = x_379;
x_158 = x_388;
x_159 = x_380;
x_160 = x_387;
x_161 = x_418;
x_162 = x_381;
x_163 = x_382;
goto block_253;
}
}
}
else
{
lean_object* x_419; 
lean_dec(x_408);
lean_dec(x_1);
x_419 = lean_box(0);
x_149 = x_389;
x_150 = x_376;
x_151 = x_390;
x_152 = x_377;
x_153 = x_386;
x_154 = x_378;
x_155 = x_407;
x_156 = x_395;
x_157 = x_379;
x_158 = x_388;
x_159 = x_380;
x_160 = x_387;
x_161 = x_419;
x_162 = x_381;
x_163 = x_382;
goto block_253;
}
}
}
}
}
}
else
{
lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; uint8_t x_425; 
x_420 = l_Lean_Syntax_getArg(x_384, x_373);
x_421 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__16;
x_422 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__17;
x_423 = l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__29;
x_424 = l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__30;
lean_inc(x_420);
x_425 = l_Lean_Syntax_isOfKind(x_420, x_424);
if (x_425 == 0)
{
lean_object* x_426; lean_object* x_427; 
lean_dec(x_420);
lean_dec(x_384);
lean_dec(x_380);
lean_dec(x_379);
lean_dec(x_377);
lean_dec(x_376);
x_426 = l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__24;
x_427 = l_Lean_Macro_throwErrorAt___redArg(x_1, x_426, x_381, x_382);
lean_dec(x_1);
return x_427;
}
else
{
lean_object* x_428; lean_object* x_429; uint8_t x_430; 
x_428 = l_Lean_Syntax_getArg(x_420, x_378);
lean_dec(x_420);
x_429 = l_Lean_Syntax_getArg(x_384, x_378);
lean_dec(x_384);
x_430 = l_Lean_Syntax_isNone(x_429);
if (x_430 == 0)
{
uint8_t x_431; 
lean_inc(x_429);
x_431 = l_Lean_Syntax_matchesNull(x_429, x_378);
if (x_431 == 0)
{
lean_object* x_432; lean_object* x_433; 
lean_dec(x_429);
lean_dec(x_428);
lean_dec(x_380);
lean_dec(x_379);
lean_dec(x_377);
lean_dec(x_376);
x_432 = l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__24;
x_433 = l_Lean_Macro_throwErrorAt___redArg(x_1, x_432, x_381, x_382);
lean_dec(x_1);
return x_433;
}
else
{
lean_object* x_434; lean_object* x_435; uint8_t x_436; 
x_434 = l_Lean_Syntax_getArg(x_429, x_373);
lean_dec(x_429);
x_435 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__36;
lean_inc(x_434);
x_436 = l_Lean_Syntax_isOfKind(x_434, x_435);
if (x_436 == 0)
{
lean_object* x_437; lean_object* x_438; 
lean_dec(x_434);
lean_dec(x_428);
lean_dec(x_380);
lean_dec(x_379);
lean_dec(x_377);
lean_dec(x_376);
x_437 = l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__24;
x_438 = l_Lean_Macro_throwErrorAt___redArg(x_1, x_437, x_381, x_382);
lean_dec(x_1);
return x_438;
}
else
{
lean_object* x_439; 
lean_dec(x_1);
x_439 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_439, 0, x_434);
x_350 = x_424;
x_351 = x_376;
x_352 = x_428;
x_353 = x_422;
x_354 = x_377;
x_355 = x_421;
x_356 = x_379;
x_357 = x_380;
x_358 = x_423;
x_359 = x_439;
x_360 = x_381;
x_361 = x_382;
goto block_370;
}
}
}
else
{
lean_object* x_440; 
lean_dec(x_429);
lean_dec(x_1);
x_440 = lean_box(0);
x_350 = x_424;
x_351 = x_376;
x_352 = x_428;
x_353 = x_422;
x_354 = x_377;
x_355 = x_421;
x_356 = x_379;
x_357 = x_380;
x_358 = x_423;
x_359 = x_440;
x_360 = x_381;
x_361 = x_382;
goto block_370;
}
}
}
}
block_458:
{
lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; uint8_t x_451; 
x_447 = lean_unsigned_to_nat(2u);
x_448 = l_Lean_Syntax_getArg(x_1, x_447);
x_449 = lean_unsigned_to_nat(3u);
x_450 = l_Lean_Syntax_getArg(x_1, x_449);
x_451 = l_Lean_Syntax_isNone(x_450);
if (x_451 == 0)
{
uint8_t x_452; 
lean_inc(x_450);
x_452 = l_Lean_Syntax_matchesNull(x_450, x_443);
if (x_452 == 0)
{
lean_object* x_453; lean_object* x_454; 
lean_dec(x_450);
lean_dec(x_448);
lean_dec(x_444);
lean_dec(x_442);
x_453 = l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__24;
x_454 = l_Lean_Macro_throwErrorAt___redArg(x_1, x_453, x_445, x_446);
lean_dec(x_1);
return x_454;
}
else
{
lean_object* x_455; lean_object* x_456; 
x_455 = l_Lean_Syntax_getArg(x_450, x_373);
lean_dec(x_450);
x_456 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_456, 0, x_455);
x_374 = x_449;
x_375 = x_447;
x_376 = x_442;
x_377 = x_444;
x_378 = x_443;
x_379 = x_448;
x_380 = x_456;
x_381 = x_445;
x_382 = x_446;
goto block_441;
}
}
else
{
lean_object* x_457; 
lean_dec(x_450);
x_457 = lean_box(0);
x_374 = x_449;
x_375 = x_447;
x_376 = x_442;
x_377 = x_444;
x_378 = x_443;
x_379 = x_448;
x_380 = x_457;
x_381 = x_445;
x_382 = x_446;
goto block_441;
}
}
block_471:
{
lean_object* x_462; lean_object* x_463; uint8_t x_464; 
x_462 = lean_unsigned_to_nat(1u);
x_463 = l_Lean_Syntax_getArg(x_1, x_462);
x_464 = l_Lean_Syntax_isNone(x_463);
if (x_464 == 0)
{
uint8_t x_465; 
lean_inc(x_463);
x_465 = l_Lean_Syntax_matchesNull(x_463, x_462);
if (x_465 == 0)
{
lean_object* x_466; lean_object* x_467; 
lean_dec(x_463);
lean_dec(x_459);
x_466 = l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__24;
x_467 = l_Lean_Macro_throwErrorAt___redArg(x_1, x_466, x_460, x_461);
lean_dec(x_1);
return x_467;
}
else
{
lean_object* x_468; lean_object* x_469; 
x_468 = l_Lean_Syntax_getArg(x_463, x_373);
lean_dec(x_463);
x_469 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_469, 0, x_468);
x_442 = x_459;
x_443 = x_462;
x_444 = x_469;
x_445 = x_460;
x_446 = x_461;
goto block_458;
}
}
else
{
lean_object* x_470; 
lean_dec(x_463);
x_470 = lean_box(0);
x_442 = x_459;
x_443 = x_462;
x_444 = x_470;
x_445 = x_460;
x_446 = x_461;
goto block_458;
}
}
}
block_26:
{
lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; 
x_20 = l_Array_append___redArg(x_5, x_19);
lean_dec_ref(x_19);
lean_inc(x_18);
x_21 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_21, 0, x_18);
lean_ctor_set(x_21, 1, x_13);
lean_ctor_set(x_21, 2, x_20);
lean_inc(x_18);
x_22 = l_Lean_Syntax_node4(x_18, x_14, x_12, x_15, x_11, x_21);
lean_inc(x_18);
x_23 = l_Lean_Syntax_node5(x_18, x_16, x_10, x_7, x_9, x_22, x_4);
x_24 = l_Lean_Syntax_node2(x_18, x_8, x_17, x_23);
x_25 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_25, 0, x_24);
lean_ctor_set(x_25, 1, x_6);
return x_25;
}
block_148:
{
lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; 
lean_inc_ref(x_29);
x_48 = l_Array_append___redArg(x_29, x_47);
lean_dec_ref(x_47);
lean_inc(x_40);
lean_inc(x_44);
x_49 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_49, 0, x_44);
lean_ctor_set(x_49, 1, x_40);
lean_ctor_set(x_49, 2, x_48);
x_50 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__15;
lean_inc_ref(x_46);
lean_inc_ref(x_43);
lean_inc_ref(x_45);
x_51 = l_Lean_Name_mkStr4(x_45, x_43, x_46, x_50);
x_52 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__16;
lean_inc(x_44);
x_53 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_53, 0, x_44);
lean_ctor_set(x_53, 1, x_52);
x_54 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__38;
x_55 = l_Lean_Syntax_SepArray_ofElems(x_54, x_33);
lean_dec_ref(x_33);
lean_inc_ref(x_29);
x_56 = l_Array_append___redArg(x_29, x_55);
lean_dec_ref(x_55);
lean_inc(x_40);
lean_inc(x_44);
x_57 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_57, 0, x_44);
lean_ctor_set(x_57, 1, x_40);
lean_ctor_set(x_57, 2, x_56);
x_58 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__17;
lean_inc(x_44);
x_59 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_59, 0, x_44);
lean_ctor_set(x_59, 1, x_58);
lean_inc(x_44);
x_60 = l_Lean_Syntax_node3(x_44, x_51, x_53, x_57, x_59);
lean_inc(x_40);
lean_inc(x_44);
x_61 = l_Lean_Syntax_node1(x_44, x_40, x_60);
lean_inc_n(x_27, 5);
lean_inc(x_44);
x_62 = l_Lean_Syntax_node7(x_44, x_36, x_49, x_61, x_27, x_27, x_27, x_27, x_27);
x_63 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__5;
lean_inc_ref(x_28);
lean_inc_ref(x_43);
lean_inc_ref(x_45);
x_64 = l_Lean_Name_mkStr4(x_45, x_43, x_28, x_63);
x_65 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__6;
lean_inc(x_44);
x_66 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_66, 0, x_44);
lean_ctor_set(x_66, 1, x_65);
x_67 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__7;
lean_inc_ref(x_28);
lean_inc_ref(x_43);
lean_inc_ref(x_45);
x_68 = l_Lean_Name_mkStr4(x_45, x_43, x_28, x_67);
x_69 = l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__1;
x_70 = l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__2;
lean_inc(x_31);
lean_inc(x_38);
x_71 = l_Lean_addMacroScope(x_38, x_70, x_31);
lean_inc(x_37);
lean_inc(x_44);
x_72 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_72, 0, x_44);
lean_ctor_set(x_72, 1, x_69);
lean_ctor_set(x_72, 2, x_71);
lean_ctor_set(x_72, 3, x_37);
lean_inc(x_27);
lean_inc(x_44);
x_73 = l_Lean_Syntax_node2(x_44, x_68, x_72, x_27);
x_74 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__10;
lean_inc_ref(x_43);
lean_inc_ref(x_45);
x_75 = l_Lean_Name_mkStr4(x_45, x_43, x_28, x_74);
x_76 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__12;
lean_inc_ref(x_46);
lean_inc_ref(x_43);
lean_inc_ref(x_45);
x_77 = l_Lean_Name_mkStr4(x_45, x_43, x_46, x_76);
x_78 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__13;
lean_inc(x_44);
x_79 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_79, 0, x_44);
lean_ctor_set(x_79, 1, x_78);
x_80 = l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__4;
x_81 = l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__5;
lean_inc(x_31);
lean_inc(x_38);
x_82 = l_Lean_addMacroScope(x_38, x_81, x_31);
x_83 = l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__7;
x_84 = l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__8;
lean_inc(x_37);
x_85 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_85, 0, x_84);
lean_ctor_set(x_85, 1, x_37);
x_86 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_86, 0, x_83);
lean_ctor_set(x_86, 1, x_85);
lean_inc(x_44);
x_87 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_87, 0, x_44);
lean_ctor_set(x_87, 1, x_80);
lean_ctor_set(x_87, 2, x_82);
lean_ctor_set(x_87, 3, x_86);
lean_inc(x_44);
x_88 = l_Lean_Syntax_node2(x_44, x_77, x_79, x_87);
lean_inc(x_40);
lean_inc(x_44);
x_89 = l_Lean_Syntax_node1(x_44, x_40, x_88);
lean_inc(x_27);
lean_inc(x_44);
x_90 = l_Lean_Syntax_node2(x_44, x_75, x_27, x_89);
x_91 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__37;
lean_inc(x_44);
x_92 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_92, 0, x_44);
lean_ctor_set(x_92, 1, x_91);
x_93 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__29;
lean_inc_ref(x_46);
lean_inc_ref(x_43);
lean_inc_ref(x_45);
x_94 = l_Lean_Name_mkStr4(x_45, x_43, x_46, x_93);
x_95 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__30;
lean_inc(x_44);
x_96 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_96, 0, x_44);
lean_ctor_set(x_96, 1, x_95);
x_97 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__33;
lean_inc_ref(x_46);
lean_inc_ref(x_43);
lean_inc_ref(x_45);
x_98 = l_Lean_Name_mkStr4(x_45, x_43, x_46, x_97);
x_99 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__31;
lean_inc_ref(x_46);
lean_inc_ref(x_43);
lean_inc_ref(x_45);
x_100 = l_Lean_Name_mkStr4(x_45, x_43, x_46, x_99);
x_101 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__32;
lean_inc_ref(x_46);
lean_inc_ref(x_43);
lean_inc_ref(x_45);
x_102 = l_Lean_Name_mkStr4(x_45, x_43, x_46, x_101);
x_103 = l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__10;
x_104 = l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__11;
lean_inc(x_31);
lean_inc(x_38);
x_105 = l_Lean_addMacroScope(x_38, x_104, x_31);
lean_inc(x_37);
lean_inc(x_44);
x_106 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_106, 0, x_44);
lean_ctor_set(x_106, 1, x_103);
lean_ctor_set(x_106, 2, x_105);
lean_ctor_set(x_106, 3, x_37);
lean_inc(x_27);
lean_inc(x_102);
lean_inc(x_44);
x_107 = l_Lean_Syntax_node2(x_44, x_102, x_106, x_27);
x_108 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__36;
lean_inc_ref(x_46);
lean_inc_ref(x_43);
lean_inc_ref(x_45);
x_109 = l_Lean_Name_mkStr4(x_45, x_43, x_46, x_108);
x_110 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__9;
x_111 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__10;
lean_inc(x_44);
x_112 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_112, 0, x_44);
lean_ctor_set(x_112, 1, x_111);
lean_inc(x_44);
x_113 = l_Lean_Syntax_node1(x_44, x_110, x_112);
lean_inc(x_27);
lean_inc_ref(x_92);
lean_inc(x_109);
lean_inc(x_44);
x_114 = l_Lean_Syntax_node3(x_44, x_109, x_92, x_27, x_113);
lean_inc_n(x_27, 2);
lean_inc(x_40);
lean_inc(x_44);
x_115 = l_Lean_Syntax_node3(x_44, x_40, x_27, x_27, x_114);
lean_inc(x_100);
lean_inc(x_44);
x_116 = l_Lean_Syntax_node2(x_44, x_100, x_107, x_115);
lean_inc(x_44);
x_117 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_117, 0, x_44);
lean_ctor_set(x_117, 1, x_54);
x_118 = l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__13;
x_119 = l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__14;
x_120 = l_Lean_addMacroScope(x_38, x_119, x_31);
lean_inc(x_44);
x_121 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_121, 0, x_44);
lean_ctor_set(x_121, 1, x_118);
lean_ctor_set(x_121, 2, x_120);
lean_ctor_set(x_121, 3, x_37);
lean_inc(x_27);
lean_inc(x_44);
x_122 = l_Lean_Syntax_node2(x_44, x_102, x_121, x_27);
x_123 = l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__15;
lean_inc_ref(x_46);
lean_inc_ref(x_43);
lean_inc_ref(x_45);
x_124 = l_Lean_Name_mkStr4(x_45, x_43, x_46, x_123);
lean_inc(x_44);
x_125 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_125, 0, x_44);
lean_ctor_set(x_125, 1, x_123);
x_126 = l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__16;
lean_inc_ref(x_46);
lean_inc_ref(x_43);
lean_inc_ref(x_45);
x_127 = l_Lean_Name_mkStr4(x_45, x_43, x_46, x_126);
lean_inc(x_40);
lean_inc(x_44);
x_128 = l_Lean_Syntax_node1(x_44, x_40, x_35);
x_129 = l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__17;
lean_inc(x_44);
x_130 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_130, 0, x_44);
lean_ctor_set(x_130, 1, x_129);
lean_inc(x_27);
lean_inc(x_44);
x_131 = l_Lean_Syntax_node4(x_44, x_127, x_128, x_27, x_130, x_34);
lean_inc(x_44);
x_132 = l_Lean_Syntax_node2(x_44, x_124, x_125, x_131);
lean_inc(x_27);
lean_inc_ref(x_92);
lean_inc(x_44);
x_133 = l_Lean_Syntax_node3(x_44, x_109, x_92, x_27, x_132);
lean_inc_n(x_27, 2);
lean_inc(x_40);
lean_inc(x_44);
x_134 = l_Lean_Syntax_node3(x_44, x_40, x_27, x_27, x_133);
lean_inc(x_44);
x_135 = l_Lean_Syntax_node2(x_44, x_100, x_122, x_134);
lean_inc(x_40);
lean_inc(x_44);
x_136 = l_Lean_Syntax_node3(x_44, x_40, x_116, x_117, x_135);
lean_inc(x_44);
x_137 = l_Lean_Syntax_node1(x_44, x_98, x_136);
x_138 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__45;
x_139 = l_Lean_Name_mkStr4(x_45, x_43, x_46, x_138);
lean_inc(x_27);
lean_inc(x_44);
x_140 = l_Lean_Syntax_node1(x_44, x_139, x_27);
x_141 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__46;
lean_inc(x_44);
x_142 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_142, 0, x_44);
lean_ctor_set(x_142, 1, x_141);
lean_inc_n(x_27, 2);
lean_inc(x_44);
x_143 = l_Lean_Syntax_node6(x_44, x_94, x_96, x_27, x_137, x_140, x_27, x_142);
lean_inc_n(x_27, 2);
lean_inc(x_44);
x_144 = l_Lean_Syntax_node2(x_44, x_42, x_27, x_27);
if (lean_obj_tag(x_41) == 1)
{
lean_object* x_145; lean_object* x_146; 
x_145 = lean_ctor_get(x_41, 0);
lean_inc(x_145);
lean_dec_ref(x_41);
x_146 = l_Array_mkArray1___redArg(x_145);
x_4 = x_27;
x_5 = x_29;
x_6 = x_30;
x_7 = x_73;
x_8 = x_32;
x_9 = x_90;
x_10 = x_66;
x_11 = x_144;
x_12 = x_92;
x_13 = x_40;
x_14 = x_39;
x_15 = x_143;
x_16 = x_64;
x_17 = x_62;
x_18 = x_44;
x_19 = x_146;
goto block_26;
}
else
{
lean_object* x_147; 
lean_dec(x_41);
x_147 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__28;
x_4 = x_27;
x_5 = x_29;
x_6 = x_30;
x_7 = x_73;
x_8 = x_32;
x_9 = x_90;
x_10 = x_66;
x_11 = x_144;
x_12 = x_92;
x_13 = x_40;
x_14 = x_39;
x_15 = x_143;
x_16 = x_64;
x_17 = x_62;
x_18 = x_44;
x_19 = x_147;
goto block_26;
}
}
block_253:
{
uint8_t x_164; 
x_164 = !lean_is_exclusive(x_162);
if (x_164 == 0)
{
lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; 
x_165 = lean_ctor_get(x_162, 1);
x_166 = lean_ctor_get(x_162, 2);
x_167 = lean_ctor_get(x_162, 5);
x_168 = l_Lean_replaceRef(x_157, x_167);
lean_dec(x_167);
lean_dec(x_157);
lean_inc(x_168);
lean_inc(x_166);
lean_inc(x_165);
lean_ctor_set(x_162, 5, x_168);
x_169 = l_Lake_DSL_expandOptSimpleBinder(x_159, x_162, x_163);
if (lean_obj_tag(x_169) == 0)
{
lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; 
x_170 = lean_ctor_get(x_169, 0);
lean_inc(x_170);
x_171 = lean_ctor_get(x_169, 1);
lean_inc(x_171);
lean_dec_ref(x_169);
x_172 = l_Lean_SourceInfo_fromRef(x_168, x_153);
lean_dec(x_168);
x_173 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__11;
x_174 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__47;
lean_inc_ref(x_158);
lean_inc_ref(x_160);
x_175 = l_Lean_Name_mkStr4(x_160, x_158, x_173, x_174);
x_176 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__49;
lean_inc_ref(x_158);
lean_inc_ref(x_160);
x_177 = l_Lean_Name_mkStr4(x_160, x_158, x_173, x_176);
x_178 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__3;
x_179 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__4;
lean_inc(x_172);
x_180 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_180, 0, x_172);
lean_ctor_set(x_180, 1, x_178);
lean_ctor_set(x_180, 2, x_179);
lean_inc_ref(x_180);
lean_inc(x_172);
x_181 = l_Lean_Syntax_node1(x_172, x_177, x_180);
x_182 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__51;
x_183 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__52;
lean_inc_ref(x_158);
lean_inc_ref(x_160);
x_184 = l_Lean_Name_mkStr4(x_160, x_158, x_182, x_183);
x_185 = l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__19;
x_186 = l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__21;
lean_inc(x_166);
lean_inc(x_165);
x_187 = l_Lean_addMacroScope(x_165, x_186, x_166);
x_188 = lean_box(0);
lean_inc(x_172);
x_189 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_189, 0, x_172);
lean_ctor_set(x_189, 1, x_185);
lean_ctor_set(x_189, 2, x_187);
lean_ctor_set(x_189, 3, x_188);
lean_inc_ref(x_180);
lean_inc(x_172);
x_190 = l_Lean_Syntax_node2(x_172, x_184, x_189, x_180);
lean_inc(x_172);
x_191 = l_Lean_Syntax_node2(x_172, x_175, x_181, x_190);
x_192 = lean_mk_empty_array_with_capacity(x_154);
x_193 = lean_array_push(x_192, x_191);
x_194 = l_Lake_DSL_expandAttrs(x_152);
x_195 = l_Array_append___redArg(x_193, x_194);
lean_dec_ref(x_194);
x_196 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__0;
lean_inc_ref(x_149);
lean_inc_ref(x_158);
lean_inc_ref(x_160);
x_197 = l_Lean_Name_mkStr4(x_160, x_158, x_149, x_196);
x_198 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__1;
lean_inc_ref(x_149);
lean_inc_ref(x_158);
lean_inc_ref(x_160);
x_199 = l_Lean_Name_mkStr4(x_160, x_158, x_149, x_198);
if (lean_obj_tag(x_150) == 1)
{
lean_object* x_200; lean_object* x_201; 
x_200 = lean_ctor_get(x_150, 0);
lean_inc(x_200);
lean_dec_ref(x_150);
x_201 = l_Array_mkArray1___redArg(x_200);
x_27 = x_180;
x_28 = x_149;
x_29 = x_179;
x_30 = x_171;
x_31 = x_166;
x_32 = x_197;
x_33 = x_195;
x_34 = x_155;
x_35 = x_170;
x_36 = x_199;
x_37 = x_188;
x_38 = x_165;
x_39 = x_151;
x_40 = x_178;
x_41 = x_161;
x_42 = x_156;
x_43 = x_158;
x_44 = x_172;
x_45 = x_160;
x_46 = x_173;
x_47 = x_201;
goto block_148;
}
else
{
lean_object* x_202; 
lean_dec(x_150);
x_202 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__28;
x_27 = x_180;
x_28 = x_149;
x_29 = x_179;
x_30 = x_171;
x_31 = x_166;
x_32 = x_197;
x_33 = x_195;
x_34 = x_155;
x_35 = x_170;
x_36 = x_199;
x_37 = x_188;
x_38 = x_165;
x_39 = x_151;
x_40 = x_178;
x_41 = x_161;
x_42 = x_156;
x_43 = x_158;
x_44 = x_172;
x_45 = x_160;
x_46 = x_173;
x_47 = x_202;
goto block_148;
}
}
else
{
uint8_t x_203; 
lean_dec(x_168);
lean_dec(x_166);
lean_dec(x_165);
lean_dec(x_161);
lean_dec_ref(x_160);
lean_dec_ref(x_158);
lean_dec(x_156);
lean_dec(x_155);
lean_dec(x_152);
lean_dec(x_151);
lean_dec(x_150);
lean_dec_ref(x_149);
x_203 = !lean_is_exclusive(x_169);
if (x_203 == 0)
{
return x_169;
}
else
{
lean_object* x_204; lean_object* x_205; lean_object* x_206; 
x_204 = lean_ctor_get(x_169, 0);
x_205 = lean_ctor_get(x_169, 1);
lean_inc(x_205);
lean_inc(x_204);
lean_dec(x_169);
x_206 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_206, 0, x_204);
lean_ctor_set(x_206, 1, x_205);
return x_206;
}
}
}
else
{
lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; 
x_207 = lean_ctor_get(x_162, 0);
x_208 = lean_ctor_get(x_162, 1);
x_209 = lean_ctor_get(x_162, 2);
x_210 = lean_ctor_get(x_162, 3);
x_211 = lean_ctor_get(x_162, 4);
x_212 = lean_ctor_get(x_162, 5);
lean_inc(x_212);
lean_inc(x_211);
lean_inc(x_210);
lean_inc(x_209);
lean_inc(x_208);
lean_inc(x_207);
lean_dec(x_162);
x_213 = l_Lean_replaceRef(x_157, x_212);
lean_dec(x_212);
lean_dec(x_157);
lean_inc(x_213);
lean_inc(x_209);
lean_inc(x_208);
x_214 = lean_alloc_ctor(0, 6, 0);
lean_ctor_set(x_214, 0, x_207);
lean_ctor_set(x_214, 1, x_208);
lean_ctor_set(x_214, 2, x_209);
lean_ctor_set(x_214, 3, x_210);
lean_ctor_set(x_214, 4, x_211);
lean_ctor_set(x_214, 5, x_213);
x_215 = l_Lake_DSL_expandOptSimpleBinder(x_159, x_214, x_163);
if (lean_obj_tag(x_215) == 0)
{
lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; 
x_216 = lean_ctor_get(x_215, 0);
lean_inc(x_216);
x_217 = lean_ctor_get(x_215, 1);
lean_inc(x_217);
lean_dec_ref(x_215);
x_218 = l_Lean_SourceInfo_fromRef(x_213, x_153);
lean_dec(x_213);
x_219 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__11;
x_220 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__47;
lean_inc_ref(x_158);
lean_inc_ref(x_160);
x_221 = l_Lean_Name_mkStr4(x_160, x_158, x_219, x_220);
x_222 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__49;
lean_inc_ref(x_158);
lean_inc_ref(x_160);
x_223 = l_Lean_Name_mkStr4(x_160, x_158, x_219, x_222);
x_224 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__3;
x_225 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__4;
lean_inc(x_218);
x_226 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_226, 0, x_218);
lean_ctor_set(x_226, 1, x_224);
lean_ctor_set(x_226, 2, x_225);
lean_inc_ref(x_226);
lean_inc(x_218);
x_227 = l_Lean_Syntax_node1(x_218, x_223, x_226);
x_228 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__51;
x_229 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__52;
lean_inc_ref(x_158);
lean_inc_ref(x_160);
x_230 = l_Lean_Name_mkStr4(x_160, x_158, x_228, x_229);
x_231 = l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__19;
x_232 = l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__21;
lean_inc(x_209);
lean_inc(x_208);
x_233 = l_Lean_addMacroScope(x_208, x_232, x_209);
x_234 = lean_box(0);
lean_inc(x_218);
x_235 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_235, 0, x_218);
lean_ctor_set(x_235, 1, x_231);
lean_ctor_set(x_235, 2, x_233);
lean_ctor_set(x_235, 3, x_234);
lean_inc_ref(x_226);
lean_inc(x_218);
x_236 = l_Lean_Syntax_node2(x_218, x_230, x_235, x_226);
lean_inc(x_218);
x_237 = l_Lean_Syntax_node2(x_218, x_221, x_227, x_236);
x_238 = lean_mk_empty_array_with_capacity(x_154);
x_239 = lean_array_push(x_238, x_237);
x_240 = l_Lake_DSL_expandAttrs(x_152);
x_241 = l_Array_append___redArg(x_239, x_240);
lean_dec_ref(x_240);
x_242 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__0;
lean_inc_ref(x_149);
lean_inc_ref(x_158);
lean_inc_ref(x_160);
x_243 = l_Lean_Name_mkStr4(x_160, x_158, x_149, x_242);
x_244 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__1;
lean_inc_ref(x_149);
lean_inc_ref(x_158);
lean_inc_ref(x_160);
x_245 = l_Lean_Name_mkStr4(x_160, x_158, x_149, x_244);
if (lean_obj_tag(x_150) == 1)
{
lean_object* x_246; lean_object* x_247; 
x_246 = lean_ctor_get(x_150, 0);
lean_inc(x_246);
lean_dec_ref(x_150);
x_247 = l_Array_mkArray1___redArg(x_246);
x_27 = x_226;
x_28 = x_149;
x_29 = x_225;
x_30 = x_217;
x_31 = x_209;
x_32 = x_243;
x_33 = x_241;
x_34 = x_155;
x_35 = x_216;
x_36 = x_245;
x_37 = x_234;
x_38 = x_208;
x_39 = x_151;
x_40 = x_224;
x_41 = x_161;
x_42 = x_156;
x_43 = x_158;
x_44 = x_218;
x_45 = x_160;
x_46 = x_219;
x_47 = x_247;
goto block_148;
}
else
{
lean_object* x_248; 
lean_dec(x_150);
x_248 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__28;
x_27 = x_226;
x_28 = x_149;
x_29 = x_225;
x_30 = x_217;
x_31 = x_209;
x_32 = x_243;
x_33 = x_241;
x_34 = x_155;
x_35 = x_216;
x_36 = x_245;
x_37 = x_234;
x_38 = x_208;
x_39 = x_151;
x_40 = x_224;
x_41 = x_161;
x_42 = x_156;
x_43 = x_158;
x_44 = x_218;
x_45 = x_160;
x_46 = x_219;
x_47 = x_248;
goto block_148;
}
}
else
{
lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; 
lean_dec(x_213);
lean_dec(x_209);
lean_dec(x_208);
lean_dec(x_161);
lean_dec_ref(x_160);
lean_dec_ref(x_158);
lean_dec(x_156);
lean_dec(x_155);
lean_dec(x_152);
lean_dec(x_151);
lean_dec(x_150);
lean_dec_ref(x_149);
x_249 = lean_ctor_get(x_215, 0);
lean_inc(x_249);
x_250 = lean_ctor_get(x_215, 1);
lean_inc(x_250);
if (lean_is_exclusive(x_215)) {
 lean_ctor_release(x_215, 0);
 lean_ctor_release(x_215, 1);
 x_251 = x_215;
} else {
 lean_dec_ref(x_215);
 x_251 = lean_box(0);
}
if (lean_is_scalar(x_251)) {
 x_252 = lean_alloc_ctor(1, 2, 0);
} else {
 x_252 = x_251;
}
lean_ctor_set(x_252, 0, x_249);
lean_ctor_set(x_252, 1, x_250);
return x_252;
}
}
}
block_273:
{
lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; 
x_268 = l_Array_append___redArg(x_264, x_267);
lean_dec_ref(x_267);
lean_inc(x_265);
x_269 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_269, 0, x_265);
lean_ctor_set(x_269, 1, x_258);
lean_ctor_set(x_269, 2, x_268);
lean_inc(x_265);
x_270 = l_Lean_Syntax_node4(x_265, x_256, x_261, x_259, x_255, x_269);
x_271 = l_Lean_Syntax_node5(x_265, x_254, x_260, x_263, x_266, x_262, x_270);
x_272 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_272, 0, x_271);
lean_ctor_set(x_272, 1, x_257);
return x_272;
}
block_305:
{
lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; 
lean_inc_ref(x_276);
x_288 = l_Array_append___redArg(x_276, x_287);
lean_dec_ref(x_287);
lean_inc(x_281);
lean_inc(x_278);
x_289 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_289, 0, x_278);
lean_ctor_set(x_289, 1, x_281);
lean_ctor_set(x_289, 2, x_288);
x_290 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__18;
x_291 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__25;
lean_inc_ref(x_284);
lean_inc_ref(x_286);
x_292 = l_Lean_Name_mkStr4(x_286, x_284, x_290, x_291);
x_293 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__37;
lean_inc(x_278);
x_294 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_294, 0, x_278);
lean_ctor_set(x_294, 1, x_293);
lean_inc(x_278);
x_295 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_295, 0, x_278);
lean_ctor_set(x_295, 1, x_279);
lean_inc(x_278);
x_296 = l_Lean_Syntax_node2(x_278, x_282, x_295, x_283);
x_297 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__26;
x_298 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__27;
x_299 = l_Lean_Name_mkStr4(x_286, x_284, x_297, x_298);
lean_inc_ref(x_276);
lean_inc(x_281);
lean_inc(x_278);
x_300 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_300, 0, x_278);
lean_ctor_set(x_300, 1, x_281);
lean_ctor_set(x_300, 2, x_276);
lean_inc_ref(x_300);
lean_inc(x_278);
x_301 = l_Lean_Syntax_node2(x_278, x_299, x_300, x_300);
if (lean_obj_tag(x_277) == 1)
{
lean_object* x_302; lean_object* x_303; 
x_302 = lean_ctor_get(x_277, 0);
lean_inc(x_302);
lean_dec_ref(x_277);
x_303 = l_Array_mkArray1___redArg(x_302);
x_255 = x_301;
x_256 = x_292;
x_257 = x_274;
x_258 = x_281;
x_259 = x_296;
x_260 = x_275;
x_261 = x_294;
x_262 = x_289;
x_263 = x_285;
x_264 = x_276;
x_265 = x_278;
x_266 = x_280;
x_267 = x_303;
goto block_273;
}
else
{
lean_object* x_304; 
lean_dec(x_277);
x_304 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__28;
x_255 = x_301;
x_256 = x_292;
x_257 = x_274;
x_258 = x_281;
x_259 = x_296;
x_260 = x_275;
x_261 = x_294;
x_262 = x_289;
x_263 = x_285;
x_264 = x_276;
x_265 = x_278;
x_266 = x_280;
x_267 = x_304;
goto block_273;
}
}
block_329:
{
lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; 
lean_inc_ref(x_309);
x_321 = l_Array_append___redArg(x_309, x_320);
lean_dec_ref(x_320);
lean_inc(x_315);
lean_inc(x_311);
x_322 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_322, 0, x_311);
lean_ctor_set(x_322, 1, x_315);
lean_ctor_set(x_322, 2, x_321);
x_323 = l_Lean_SourceInfo_fromRef(x_312, x_306);
lean_dec(x_312);
x_324 = l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__20;
x_325 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_325, 0, x_323);
lean_ctor_set(x_325, 1, x_324);
if (lean_obj_tag(x_313) == 1)
{
lean_object* x_326; lean_object* x_327; 
x_326 = lean_ctor_get(x_313, 0);
lean_inc(x_326);
lean_dec_ref(x_313);
x_327 = l_Array_mkArray1___redArg(x_326);
x_274 = x_307;
x_275 = x_308;
x_276 = x_309;
x_277 = x_310;
x_278 = x_311;
x_279 = x_314;
x_280 = x_325;
x_281 = x_315;
x_282 = x_316;
x_283 = x_317;
x_284 = x_318;
x_285 = x_322;
x_286 = x_319;
x_287 = x_327;
goto block_305;
}
else
{
lean_object* x_328; 
lean_dec(x_313);
x_328 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__28;
x_274 = x_307;
x_275 = x_308;
x_276 = x_309;
x_277 = x_310;
x_278 = x_311;
x_279 = x_314;
x_280 = x_325;
x_281 = x_315;
x_282 = x_316;
x_283 = x_317;
x_284 = x_318;
x_285 = x_322;
x_286 = x_319;
x_287 = x_328;
goto block_305;
}
}
block_349:
{
lean_object* x_344; lean_object* x_345; 
lean_inc_ref(x_332);
x_344 = l_Array_append___redArg(x_332, x_343);
lean_dec_ref(x_343);
lean_inc(x_338);
lean_inc(x_334);
x_345 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_345, 0, x_334);
lean_ctor_set(x_345, 1, x_338);
lean_ctor_set(x_345, 2, x_344);
if (lean_obj_tag(x_331) == 1)
{
lean_object* x_346; lean_object* x_347; 
x_346 = lean_ctor_get(x_331, 0);
lean_inc(x_346);
lean_dec_ref(x_331);
x_347 = l_Array_mkArray1___redArg(x_346);
x_307 = x_330;
x_308 = x_345;
x_309 = x_332;
x_310 = x_333;
x_311 = x_334;
x_312 = x_335;
x_313 = x_336;
x_314 = x_337;
x_315 = x_338;
x_316 = x_339;
x_317 = x_340;
x_318 = x_341;
x_319 = x_342;
x_320 = x_347;
goto block_329;
}
else
{
lean_object* x_348; 
lean_dec(x_331);
x_348 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__28;
x_307 = x_330;
x_308 = x_345;
x_309 = x_332;
x_310 = x_333;
x_311 = x_334;
x_312 = x_335;
x_313 = x_336;
x_314 = x_337;
x_315 = x_338;
x_316 = x_339;
x_317 = x_340;
x_318 = x_341;
x_319 = x_342;
x_320 = x_348;
goto block_329;
}
}
block_370:
{
lean_object* x_362; uint8_t x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; 
x_362 = lean_ctor_get(x_360, 5);
lean_inc(x_362);
lean_dec_ref(x_360);
x_363 = 0;
x_364 = l_Lean_SourceInfo_fromRef(x_362, x_363);
lean_dec(x_362);
x_365 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__3;
x_366 = l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__4;
if (lean_obj_tag(x_351) == 1)
{
lean_object* x_367; lean_object* x_368; 
x_367 = lean_ctor_get(x_351, 0);
lean_inc(x_367);
lean_dec_ref(x_351);
x_368 = l_Array_mkArray1___redArg(x_367);
x_330 = x_361;
x_331 = x_354;
x_332 = x_366;
x_333 = x_359;
x_334 = x_364;
x_335 = x_356;
x_336 = x_357;
x_337 = x_358;
x_338 = x_365;
x_339 = x_350;
x_340 = x_352;
x_341 = x_353;
x_342 = x_355;
x_343 = x_368;
goto block_349;
}
else
{
lean_object* x_369; 
lean_dec(x_351);
x_369 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__28;
x_330 = x_361;
x_331 = x_354;
x_332 = x_366;
x_333 = x_359;
x_334 = x_364;
x_335 = x_356;
x_336 = x_357;
x_337 = x_358;
x_338 = x_365;
x_339 = x_350;
x_340 = x_352;
x_341 = x_353;
x_342 = x_355;
x_343 = x_369;
goto block_349;
}
}
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl__1___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Elab_macroAttribute;
return x_1;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl__1___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("expandPostUpdateDecl", 20, 20);
return x_1;
}
}
static lean_object* _init_l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl__1___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl__1___closed__1;
x_2 = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__9;
x_3 = l_Lean_Name_str___override(x_2, x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl__1() {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; 
x_2 = l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl__1___closed__0;
x_3 = l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__23;
x_4 = l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl__1___closed__2;
x_5 = lean_alloc_closure((void*)(l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl), 3, 0);
x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(x_2, x_3, x_4, x_5);
return x_6;
}
}
LEAN_EXPORT lean_object* l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl__1___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl__1();
return x_2;
}
}
lean_object* initialize_Lake_DSL_Syntax(uint8_t builtin);
lean_object* initialize_Lake_Config_Package(uint8_t builtin);
lean_object* initialize_Lake_DSL_Attributes(uint8_t builtin);
lean_object* initialize_Lake_DSL_Extensions(uint8_t builtin);
lean_object* initialize_Lake_DSL_DeclUtil(uint8_t builtin);
static bool _G_initialized = false;
LEAN_EXPORT lean_object* initialize_Lake_DSL_Package(uint8_t builtin) {
lean_object * res;
if (_G_initialized) return lean_io_result_mk_ok(lean_box(0));
_G_initialized = true;
res = initialize_Lake_DSL_Syntax(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Lake_Config_Package(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Lake_DSL_Attributes(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Lake_DSL_Extensions(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Lake_DSL_DeclUtil(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1___redArg___closed__0 = _init_l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1___redArg___closed__0();
lean_mark_persistent(l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1___redArg___closed__0);
l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1___redArg___closed__1 = _init_l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1___redArg___closed__1();
lean_mark_persistent(l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1___redArg___closed__1);
l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1___redArg___closed__2 = _init_l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1___redArg___closed__2();
lean_mark_persistent(l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1___redArg___closed__2);
l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1___redArg___closed__3 = _init_l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1___redArg___closed__3();
lean_mark_persistent(l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1___redArg___closed__3);
l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1___redArg___closed__4 = _init_l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1___redArg___closed__4();
lean_mark_persistent(l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1___redArg___closed__4);
l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1___redArg___closed__5 = _init_l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1___redArg___closed__5();
lean_mark_persistent(l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1___redArg___closed__5);
l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1_spec__2___closed__0 = _init_l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1_spec__2___closed__0();
lean_mark_persistent(l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1_spec__2___closed__0);
l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1_spec__2___closed__1 = _init_l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1_spec__2___closed__1();
lean_mark_persistent(l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1_spec__2___closed__1);
l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1_spec__2___closed__2 = _init_l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1_spec__2___closed__2();
lean_mark_persistent(l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__1_spec__2___closed__2);
l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__0___redArg___closed__0 = _init_l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__0___redArg___closed__0();
lean_mark_persistent(l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__0___redArg___closed__0);
l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__0___redArg___closed__1 = _init_l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__0___redArg___closed__1();
lean_mark_persistent(l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__0___redArg___closed__1);
l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__0___redArg___closed__2 = _init_l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__0___redArg___closed__2();
lean_mark_persistent(l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__0___redArg___closed__2);
l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__0___redArg___closed__3 = _init_l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__0___redArg___closed__3();
lean_mark_persistent(l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__0___redArg___closed__3);
l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__0___redArg___closed__4 = _init_l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__0___redArg___closed__4();
lean_mark_persistent(l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__0___redArg___closed__4);
l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__0___redArg___closed__5 = _init_l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__0___redArg___closed__5();
lean_mark_persistent(l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__0___redArg___closed__5);
l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__0___redArg___closed__6 = _init_l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__0___redArg___closed__6();
lean_mark_persistent(l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__0_spec__0_spec__0___redArg___closed__6);
l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__0 = _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__0();
lean_mark_persistent(l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__0);
l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__1 = _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__1();
lean_mark_persistent(l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__1);
l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__2 = _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__2();
lean_mark_persistent(l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__2);
l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__3 = _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__3();
lean_mark_persistent(l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__3);
l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__4 = _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__4();
lean_mark_persistent(l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__4);
l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__5 = _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__5();
lean_mark_persistent(l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__5);
l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__6 = _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__6();
lean_mark_persistent(l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__6);
l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__7 = _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__7();
lean_mark_persistent(l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__7);
l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__8 = _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__8();
lean_mark_persistent(l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__8);
l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__9 = _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__9();
lean_mark_persistent(l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__9);
l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__10 = _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__10();
lean_mark_persistent(l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__10);
l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__11 = _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__11();
lean_mark_persistent(l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__11);
l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__12 = _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__12();
lean_mark_persistent(l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__12);
l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__13 = _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__13();
lean_mark_persistent(l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__13);
l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__14 = _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__14();
lean_mark_persistent(l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__14);
l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__15 = _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__15();
lean_mark_persistent(l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__15);
l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__16 = _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__16();
lean_mark_persistent(l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__16);
l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__17 = _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__17();
lean_mark_persistent(l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__17);
l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__18 = _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__18();
lean_mark_persistent(l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__18);
l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__19 = _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__19();
lean_mark_persistent(l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__19);
l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__20 = _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__20();
lean_mark_persistent(l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__20);
l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__21 = _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__21();
lean_mark_persistent(l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__21);
l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__22 = _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__22();
lean_mark_persistent(l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__22);
l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__23 = _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__23();
lean_mark_persistent(l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__23);
l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__24 = _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__24();
lean_mark_persistent(l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__24);
l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__25 = _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__25();
lean_mark_persistent(l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__25);
l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__26 = _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__26();
lean_mark_persistent(l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__26);
l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__27 = _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__27();
lean_mark_persistent(l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__27);
l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__28 = _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__28();
lean_mark_persistent(l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__28);
l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__29 = _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__29();
lean_mark_persistent(l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__29);
l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__30 = _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__30();
lean_mark_persistent(l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__30);
l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__31 = _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__31();
lean_mark_persistent(l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__31);
l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__32 = _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__32();
lean_mark_persistent(l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__32);
l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__33 = _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__33();
lean_mark_persistent(l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__33);
l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__34 = _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__34();
lean_mark_persistent(l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__34);
l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__35 = _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__35();
lean_mark_persistent(l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__35);
l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__36 = _init_l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__36();
lean_mark_persistent(l_Lake_DSL_elabConfig___at___00__private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand_spec__6___closed__36);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__0 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__0();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__0);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__1 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__1();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__1);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__2 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__2();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__2);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__3 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__3();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__3);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__4 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__4();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__4);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__5 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__5();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__5);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__6 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__6();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__6);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__7 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__7();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__7);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__8 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__8();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__8);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__9 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__9();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__9);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__10 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__10();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__10);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__11 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__11();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__11);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__12 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__12();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__12);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__13 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__13();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__13);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__14 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__14();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__14);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__15 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__15();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__15);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__16 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__16();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__16);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__17 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__17();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__17);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__18 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__18();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__18);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__19 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__19();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__19);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__20 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__20();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__20);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__21 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__21();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__21);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__22 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__22();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__22);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__23 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__23();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__23);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__24 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__24();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__24);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__25 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__25();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__25);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__26 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__26();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__26);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__27 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__27();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__27);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__28 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__28();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__28);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__29 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__29();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__29);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__30 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__30();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__30);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__31 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__31();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__31);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__32 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__32();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__32);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__33 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__33();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__33);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__34 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__34();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__34);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__35 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__35();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__35);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__36 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__36();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__36);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__37 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__37();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__37);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__38 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__38();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__38);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__39 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__39();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__39);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__40 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__40();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__40);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__41 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__41();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__41);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__42 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__42();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__42);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__43 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__43();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__43);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__44 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__44();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__44);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__45 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__45();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__45);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__46 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__46();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__46);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__47 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__47();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__47);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__48 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__48();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__48);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__49 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__49();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__49);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__50 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__50();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__50);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__51 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__51();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__51);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__52 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__52();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__52);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__53 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__53();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__53);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__54 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__54();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__54);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__55 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__55();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__55);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__56 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__56();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__56);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__57 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__57();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__57);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__58 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__58();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__58);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__59 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__59();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__59);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__60 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__60();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__60);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__61 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__61();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__61);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__62 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__62();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__62);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__63 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__63();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__63);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__64 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__64();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__64);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__65 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__65();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___closed__65);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__0 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__0();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__0);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__1 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__1();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__1);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__2 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__2();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__2);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__3 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__3();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__3);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__4 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__4();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__4);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__5 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__5();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__5);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__6 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__6();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__6);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__7 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__7();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__7);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__8 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__8();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__8);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__9 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__9();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__9);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__10 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__10();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__10);
l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__11 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__11();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1___closed__11);
if (builtin) {res = l___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_elabPackageCommand__1();
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
}l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__0 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__0();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__0);
l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__1 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__1();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__1);
l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__2 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__2();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__2);
l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__3 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__3();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__3);
l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__4 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__4();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__4);
l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__5 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__5();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__5);
l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__6 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__6();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__6);
l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__7 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__7();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__7);
l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__8 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__8();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__8);
l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__9 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__9();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__9);
l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__10 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__10();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__10);
l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__11 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__11();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__11);
l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__12 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__12();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__12);
l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__13 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__13();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__13);
l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__14 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__14();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__14);
l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__15 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__15();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__15);
l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__16 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__16();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__16);
l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__17 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__17();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__17);
l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__18 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__18();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__18);
l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__19 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__19();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__19);
l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__20 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__20();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__20);
l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__21 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__21();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__21);
l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__22 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__22();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__22);
l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__23 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__23();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__23);
l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__24 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__24();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__24);
l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__25 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__25();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__25);
l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__26 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__26();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__26);
l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__27 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__27();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__27);
l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__28 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__28();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__28);
l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__29 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__29();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__29);
l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__30 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__30();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___closed__30);
l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl__1___closed__0 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl__1___closed__0();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl__1___closed__0);
l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl__1___closed__1 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl__1___closed__1();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl__1___closed__1);
l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl__1___closed__2 = _init_l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl__1___closed__2();
lean_mark_persistent(l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl__1___closed__2);
if (builtin) {res = l___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl___regBuiltin___private_Lake_DSL_Package_0__Lake_DSL_expandPostUpdateDecl__1();
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
}return lean_io_result_mk_ok(lean_box(0));
}
#ifdef __cplusplus
}
#endif
